mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move bindings tests out of the style crate.
This cuts in almost half the time to run: ``` touch components/style/lib.rs ./mach test-stylo ```
This commit is contained in:
parent
5e60865d19
commit
ee2794e966
6 changed files with 25 additions and 7 deletions
|
@ -7,6 +7,9 @@ publish = false
|
|||
|
||||
build = "build.rs"
|
||||
|
||||
# https://github.com/rust-lang/cargo/issues/3544
|
||||
links = "for some reason the links key is required to pass data around between build scripts"
|
||||
|
||||
[lib]
|
||||
name = "style"
|
||||
path = "lib.rs"
|
||||
|
|
|
@ -83,6 +83,7 @@ fn generate_properties() {
|
|||
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
println!("cargo:out_dir={}", env::var("OUT_DIR").unwrap());
|
||||
generate_properties();
|
||||
build_gecko::generate();
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ extern crate log;
|
|||
extern crate matches;
|
||||
#[cfg(feature = "gecko")]
|
||||
#[macro_use]
|
||||
extern crate nsstring_vendor as nsstring;
|
||||
pub extern crate nsstring_vendor as nsstring;
|
||||
#[cfg(feature = "gecko")] extern crate num_cpus;
|
||||
extern crate num_integer;
|
||||
extern crate num_traits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue