]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #38008 - bluss:rustbuild-benches, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 26 Nov 2016 18:32:19 +0000 (12:32 -0600)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2016 18:32:19 +0000 (12:32 -0600)
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

1  2 
src/bootstrap/lib.rs

Simple merge