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)
|
||||
%>
|
||||
% if aliases:
|
||||
#[parse(aliases = "${','.join(aliases)}")]
|
||||
#[parse(aliases = "${','.join(sorted(aliases))}")]
|
||||
% endif
|
||||
% endif
|
||||
${to_camel_case(variant)},
|
||||
|
|
|
@ -312,7 +312,7 @@ impl Clone for PropertyDeclaration {
|
|||
trait AssertCopy { fn assert() {} }
|
||||
trait AssertNotCopy { fn assert() {} }
|
||||
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}> {}
|
||||
Helper::<${ty}>::assert();
|
||||
% endfor
|
||||
|
@ -789,7 +789,7 @@ static ${name}: LonghandIdSet = LonghandIdSet {
|
|||
/// via logical resolution.
|
||||
#[derive(Clone, Copy, Eq, Hash, PartialEq)]
|
||||
pub enum LogicalGroup {
|
||||
% for group in logical_groups.keys():
|
||||
% for group in sorted(logical_groups.keys()):
|
||||
/// ${group}
|
||||
${to_camel_case(group)},
|
||||
% endfor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue