We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 47b2f15 + e55c0ae commit f12d91fCopy full SHA for f12d91f
src/ci/pgo.sh
@@ -15,14 +15,16 @@ function pgo_perf_benchmark {
15
local PERF=1e19fc4c6168d2f7596e512f42f358f245d8f09d
16
local github_prefix=https://raw.githubusercontent.com/rust-lang/rustc-perf/$PERF
17
local name=$1
18
+ local edition=$2
19
curl -o /tmp/$name.rs $github_prefix/collector/benchmarks/$name/src/lib.rs
20
- RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc --edition=2018 \
21
+ RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc --edition=$edition \
22
--crate-type=lib /tmp/$name.rs
23
}
24
-pgo_perf_benchmark externs
25
-pgo_perf_benchmark ctfe-stress-4
+pgo_perf_benchmark externs 2018
26
+pgo_perf_benchmark ctfe-stress-4 2018
27
+pgo_perf_benchmark inflate 2015
28
29
cp -pri ../src/tools/cargo /tmp/cargo
30
0 commit comments