File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,16 @@ function pgo_perf_benchmark {
1515 local PERF=1e19fc4c6168d2f7596e512f42f358f245d8f09d
1616 local github_prefix=https://raw.githubusercontent.com/rust-lang/rustc-perf/$PERF
1717 local name=$1
18+ local edition=$2
1819 curl -o /tmp/$name .rs $github_prefix /collector/benchmarks/$name /src/lib.rs
1920
20- RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST /stage2/bin/rustc --edition=2018 \
21+ RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST /stage2/bin/rustc --edition=$edition \
2122 --crate-type=lib /tmp/$name .rs
2223}
2324
24- pgo_perf_benchmark externs
25- pgo_perf_benchmark ctfe-stress-4
25+ pgo_perf_benchmark externs 2018
26+ pgo_perf_benchmark ctfe-stress-4 2018
27+ pgo_perf_benchmark inflate 2015
2628
2729cp -pri ../src/tools/cargo /tmp/cargo
2830
You can’t perform that action at this time.
0 commit comments