Ensure std benchmarks get tested.

This commit is contained in:
Eric Huss 2020-06-08 09:09:21 -07:00
parent e55d3f9c52
commit abb5800dd5
3 changed files with 7 additions and 0 deletions

View file

@ -25,6 +25,7 @@ path = "../liballoc/tests/lib.rs"
[[bench]]
name = "collectionsbenches"
path = "../liballoc/benches/lib.rs"
test = true
[[bench]]
name = "vec_deque_append_bench"

View file

@ -19,6 +19,7 @@ path = "../libcore/tests/lib.rs"
[[bench]]
name = "corebenches"
path = "../libcore/benches/lib.rs"
test = true
[dev-dependencies]
rand = "0.7"

View file

@ -74,3 +74,8 @@ std_detect_dlsym_getauxval = []
threads = 125
# Maximum heap size
heap_size = 0x8000000
[[bench]]
name = "stdbenches"
path = "benches/lib.rs"
test = true