aboutsummaryrefslogtreecommitdiffstats
path: root/components/selectors/lib.rs
diff options
context:
space:
mode:
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;