File tree 3 files changed +2
-8
lines changed
3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 13
13
components : rustfmt
14
14
- run : cargo fmt -- --check
15
15
- run : cargo test
16
- - run : cargo bench --features criterion
16
+ - run : cargo bench
Original file line number Diff line number Diff line change @@ -22,12 +22,9 @@ once_cell = "1.5.2"
22
22
# this is required to gate `nightly` related code paths
23
23
cfg-if = " 1.0.0"
24
24
25
- # This is actually a dev-dependency, see https://github.com/rust-lang/cargo/issues/1596
26
- criterion = { version = " 0.4.0" , optional = true }
27
-
28
25
[dev-dependencies ]
26
+ criterion = " 0.4.0"
29
27
30
28
[[bench ]]
31
29
name = " thread_local"
32
- required-features = [" criterion" ]
33
30
harness = false
Original file line number Diff line number Diff line change 1
- extern crate criterion;
2
- extern crate thread_local;
3
-
4
1
use criterion:: { black_box, BatchSize } ;
5
2
6
3
use thread_local:: ThreadLocal ;
You can’t perform that action at this time.
0 commit comments