mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Rename the 'unstable' feature of the selectors crate to 'bench'
This commit is contained in:
parent
acd857fff9
commit
c496aa16a0
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ doctest = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
gecko_like_types = []
|
gecko_like_types = []
|
||||||
unstable = []
|
bench = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.7"
|
bitflags = "0.7"
|
||||||
|
|
|
@ -346,7 +346,7 @@ fn create_and_insert_some_stuff() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "unstable")]
|
#[cfg(feature = "bench")]
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod bench {
|
mod bench {
|
||||||
extern crate test;
|
extern crate test;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// Make |cargo bench| work.
|
// Make |cargo bench| work.
|
||||||
#![cfg_attr(feature = "unstable", feature(test))]
|
#![cfg_attr(feature = "bench", feature(test))]
|
||||||
|
|
||||||
#[macro_use] extern crate bitflags;
|
#[macro_use] extern crate bitflags;
|
||||||
#[macro_use] extern crate cssparser;
|
#[macro_use] extern crate cssparser;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue