mirror of
https://github.com/servo/servo.git
synced 2025-09-05 12:38:21 +01:00
Only generate structs file for the current build
This commit is contained in:
parent
44e0ce3ffe
commit
23d9d12430
6 changed files with 12 additions and 37881 deletions
|
@ -64,7 +64,7 @@ fn main() {
|
|||
TO PASS DATA AROUND BETWEEN BUILD SCRIPTS_OUT_DIR").unwrap();
|
||||
File::create(out_dir.join("bindings.rs"))
|
||||
.unwrap()
|
||||
.write_all(format!("include!(concat!({:?}, \"/gecko/structs_debug.rs\"));",
|
||||
.write_all(format!("include!(concat!({:?}, \"/gecko/structs.rs\"));",
|
||||
style_out_dir).as_bytes())
|
||||
.unwrap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue