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 {
15
15
local PERF=1e19fc4c6168d2f7596e512f42f358f245d8f09d
16
16
local github_prefix=https://raw.githubusercontent.com/rust-lang/rustc-perf/$PERF
17
17
local name=$1
18
+ local edition=$2
18
19
curl -o /tmp/$name .rs $github_prefix /collector/benchmarks/$name /src/lib.rs
19
20
20
- RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST /stage2/bin/rustc --edition=2018 \
21
+ RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST /stage2/bin/rustc --edition=$edition \
21
22
--crate-type=lib /tmp/$name .rs
22
23
}
23
24
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
26
28
27
29
cp -pri ../src/tools/cargo /tmp/cargo
28
30
You can’t perform that action at this time.
0 commit comments