mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
style: Fix windows build bustage.
Bug: 1468651 MozReview-Commit-ID: 9Xj5lMFG4Ab
This commit is contained in:
parent
202ec8a8c8
commit
bab7be63b2
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ macro_rules! expanded {
|
||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
pub mod longhands {
|
pub mod longhands {
|
||||||
% for style_struct in data.style_structs:
|
% for style_struct in data.style_structs:
|
||||||
include!("${os.path.join(OUT_DIR, 'longhands/{}.rs'.format(style_struct.name_lower))}");
|
include!("${repr(os.path.join(OUT_DIR, 'longhands/{}.rs'.format(style_struct.name_lower)))[1:-1]}");
|
||||||
% endfor
|
% endfor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ pub mod shorthands {
|
||||||
}
|
}
|
||||||
|
|
||||||
% for style_struct in data.style_structs:
|
% for style_struct in data.style_structs:
|
||||||
include!("${os.path.join(OUT_DIR, 'shorthands/{}.rs'.format(style_struct.name_lower))}");
|
include!("${repr(os.path.join(OUT_DIR, 'shorthands/{}.rs'.format(style_struct.name_lower)))[1:-1]}");
|
||||||
% endfor
|
% endfor
|
||||||
|
|
||||||
// We didn't define the 'all' shorthand using the regular helpers:shorthand
|
// We didn't define the 'all' shorthand using the regular helpers:shorthand
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue