aboutsummaryrefslogtreecommitdiffstats
path: root/components/selectors/lib.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2017-06-21 15:23:12 -0700
committerBobby Holley <bobbyholley@gmail.com>2017-06-21 19:53:15 -0700
commit5b857686e28016150e23ea4321b2348c753acf60 (patch)
treef0837400d7c8adbcd82c529907c364726fa534fd /components/selectors/lib.rs
parent5d5c715152f30b944353470830138379bfd6ae34 (diff)
downloadservo-5b857686e28016150e23ea4321b2348c753acf60.tar.gz
servo-5b857686e28016150e23ea4321b2348c753acf60.zip
Make selectors benchmark tests work again.
Diffstat (limited to 'components/selectors/lib.rs')
-rw-r--r--components/selectors/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/selectors/lib.rs b/components/selectors/lib.rs
index 568e1aaba70..c2ad24ee73e 100644
--- a/components/selectors/lib.rs
+++ b/components/selectors/lib.rs
@@ -2,6 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+// Make |cargo bench| work.
+#![cfg_attr(feature = "unstable", feature(test))]
+
#[macro_use] extern crate bitflags;
#[macro_use] extern crate cssparser;
#[macro_use] extern crate log;