servo/components/script_traits
Simon Sapin 1f7ebfc8a2 Make mach test-unit not recompile components after mach build
Previously, the `tests` feature flag of the `embedder_traits` crate
caused it and every crate recursively depending on it to be built twice.

This feature flag was used to provide a specific set of "resources"
when running tests. Instead, this commits overrides the `main()` function
of the test harness to change resources at runtime before running any test.

This is done by adding a dependency that has `name = "test"` in its
`[lib]` section of `Cargo.toml`. This overrides the crate found by
`extern crate test;` in code generated by `rustc --test`.
2018-10-07 13:27:23 +02:00
..
Cargo.toml Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
lib.rs Auto merge of #21693 - chansuke:format_script_traits, r=jdm 2018-09-12 21:57:30 -04:00
script_msg.rs Make HTMLCanvasElement::get_size return a Size2D<u32> 2018-10-02 14:21:06 +02:00
webdriver_msg.rs Format components/script_traits 2018-09-13 00:54:56 +09:00