Skip to content

Commit d96a65c

Browse files
committed
opt-dist: explicitly pass --set build.metrics=true while running build
at first it's not obvious that build.metrics should be enabled to use opt-dist which will lead to confusion. probably it's better to add a good error message which instructs to set this option manually
1 parent e1b06f7 commit d96a65c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/opt-dist/src/exec.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ impl Bootstrap {
111111
"--stage",
112112
"2",
113113
"library/std",
114+
"--set",
115+
"build.metrics=true",
114116
])
115117
.env("RUST_BACKTRACE", "full");
116118
Self { cmd, metrics_path }

0 commit comments

Comments
 (0)