about summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-26 12:32:19 -0600
committerGitHub <noreply@github.com>2016-11-26 12:32:19 -0600
commit9003e1ab6a2e26ec881b9ff297095a8343ebc7d1 (patch)
tree66e0d794f8b6e754547581cbf212e22c47ea7594 /src/rustc
parent7e39c0ede524e491cfd1898649115e03d4b22b53 (diff)
parent17cb7bdd8340d9f83450ebd3e58b9f76e11cc01b (diff)
downloadrust-9003e1ab6a2e26ec881b9ff297095a8343ebc7d1.tar.gz
rust-9003e1ab6a2e26ec881b9ff297095a8343ebc7d1.zip
Auto merge of #38008 - bluss:rustbuild-benches, r=alexcrichton
Add rustbuild command `bench`

Add command bench to rustbuild, so that `./x.py bench <path>` can compile and run benchmarks.

`./x.py bench --stage 1 src/libcollections` and `./x.py bench --stage 1 src/libstd` should both compile well. Just `./x.py bench` runs all benchmarks for the libstd crates.

Fixes #37897
Diffstat (limited to 'src/rustc')
-rw-r--r--src/rustc/libc_shim/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustc/libc_shim/Cargo.toml b/src/rustc/libc_shim/Cargo.toml
index 8fc713e0f1b..e501766fbed 100644
--- a/src/rustc/libc_shim/Cargo.toml
+++ b/src/rustc/libc_shim/Cargo.toml
@@ -16,6 +16,7 @@ build = "build.rs"
 name = "libc"
 path = "../../liblibc/src/lib.rs"
 test = false
+bench = false
 
 [dependencies]
 core = { path = "../../libcore" }