diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2017-06-21 15:23:12 -0700 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2017-06-21 19:53:15 -0700 |
commit | 5b857686e28016150e23ea4321b2348c753acf60 (patch) | |
tree | f0837400d7c8adbcd82c529907c364726fa534fd /components/selectors/lib.rs | |
parent | 5d5c715152f30b944353470830138379bfd6ae34 (diff) | |
download | servo-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.rs | 3 |
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; |