Skip to content

Commit cfb57e3

Browse files
Merge pull request #1341 from Mark-Simulacrum/stable-measurements
Enable measuring stable compiler builds
2 parents e32e772 + 83b0203 commit cfb57e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

collector/src/execute.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,10 @@ impl<'a> CargoProcess<'a> {
319319
// and any in-tree dependencies, and we don't want that; it wastes
320320
// time.
321321
.env("CARGO_INCREMENTAL", "0")
322+
// We need to use -Z flags (for example, to force enable ICH
323+
// verification) so unconditionally enable unstable features, even
324+
// on stable compilers.
325+
.env("RUSTC_BOOTSTRAP", "1")
322326
.current_dir(cwd)
323327
.arg(subcommand)
324328
.arg("--manifest-path")

0 commit comments

Comments
 (0)