mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Build mako-generated stylo rust sources deterministically.
Differential Revision: https://phabricator.services.mozilla.com/D70633
This commit is contained in:
parent
3aa38ff4c5
commit
7ec0e56848
2 changed files with 3 additions and 3 deletions
|
@ -737,7 +737,7 @@
|
||||||
aliases.append(alias)
|
aliases.append(alias)
|
||||||
%>
|
%>
|
||||||
% if aliases:
|
% if aliases:
|
||||||
#[parse(aliases = "${','.join(aliases)}")]
|
#[parse(aliases = "${','.join(sorted(aliases))}")]
|
||||||
% endif
|
% endif
|
||||||
% endif
|
% endif
|
||||||
${to_camel_case(variant)},
|
${to_camel_case(variant)},
|
||||||
|
|
|
@ -312,7 +312,7 @@ impl Clone for PropertyDeclaration {
|
||||||
trait AssertCopy { fn assert() {} }
|
trait AssertCopy { fn assert() {} }
|
||||||
trait AssertNotCopy { fn assert() {} }
|
trait AssertNotCopy { fn assert() {} }
|
||||||
impl<T: Copy> AssertCopy for Helper<T> {}
|
impl<T: Copy> AssertCopy for Helper<T> {}
|
||||||
% for ty in set(x["type"] for x in others):
|
% for ty in sorted(set(x["type"] for x in others)):
|
||||||
impl AssertNotCopy for Helper<${ty}> {}
|
impl AssertNotCopy for Helper<${ty}> {}
|
||||||
Helper::<${ty}>::assert();
|
Helper::<${ty}>::assert();
|
||||||
% endfor
|
% endfor
|
||||||
|
@ -789,7 +789,7 @@ static ${name}: LonghandIdSet = LonghandIdSet {
|
||||||
/// via logical resolution.
|
/// via logical resolution.
|
||||||
#[derive(Clone, Copy, Eq, Hash, PartialEq)]
|
#[derive(Clone, Copy, Eq, Hash, PartialEq)]
|
||||||
pub enum LogicalGroup {
|
pub enum LogicalGroup {
|
||||||
% for group in logical_groups.keys():
|
% for group in sorted(logical_groups.keys()):
|
||||||
/// ${group}
|
/// ${group}
|
||||||
${to_camel_case(group)},
|
${to_camel_case(group)},
|
||||||
% endfor
|
% endfor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue