diff options
| author | Eric Huss <eric@huss.org> | 2020-06-08 09:09:21 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2020-06-18 09:11:15 -0700 |
| commit | abb5800dd5b05a1b0b3e1c840866389f05548ed5 (patch) | |
| tree | 4525f76b17aaf67b0adb1b650b34e7212bff1acd | |
| parent | e55d3f9c5213fe1a25366450127bdff67ad1eca2 (diff) | |
| download | rust-abb5800dd5b05a1b0b3e1c840866389f05548ed5.tar.gz rust-abb5800dd5b05a1b0b3e1c840866389f05548ed5.zip | |
Ensure std benchmarks get tested.
| -rw-r--r-- | src/liballoc/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/libcore/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/libstd/Cargo.toml | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/liballoc/Cargo.toml b/src/liballoc/Cargo.toml index d1119f7b7c0..914195f015b 100644 --- a/src/liballoc/Cargo.toml +++ b/src/liballoc/Cargo.toml @@ -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" diff --git a/src/libcore/Cargo.toml b/src/libcore/Cargo.toml index ac07ffb14fe..42c555cafac 100644 --- a/src/libcore/Cargo.toml +++ b/src/libcore/Cargo.toml @@ -19,6 +19,7 @@ path = "../libcore/tests/lib.rs" [[bench]] name = "corebenches" path = "../libcore/benches/lib.rs" +test = true [dev-dependencies] rand = "0.7" diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml index 83029a86420..490afb5a043 100644 --- a/src/libstd/Cargo.toml +++ b/src/libstd/Cargo.toml @@ -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 |
