mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Fix Stylo tests to pass on both Stable and Nightly Rust.
This is on top of https://github.com/servo/servo/pull/19285. Rust Nightly has new enum memory layout optimizations: https://github.com/rust-lang/rust/pull/45225
This commit is contained in:
parent
6031de9a39
commit
aaba33e56b
7 changed files with 25 additions and 4 deletions
|
@ -32,7 +32,8 @@ def main():
|
|||
|
||||
properties = data.PropertiesData(product=product)
|
||||
template = os.path.join(BASE, "properties.mako.rs")
|
||||
rust = render(template, product=product, data=properties, __file__=template)
|
||||
rust = render(template, product=product, data=properties, __file__=template,
|
||||
RUSTC_HAS_PR45225=os.environ.get("RUSTC_HAS_PR45225"))
|
||||
if output == "style-crate":
|
||||
write(os.environ["OUT_DIR"], "properties.rs", rust)
|
||||
if product == "gecko":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue