We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mut
1 parent 8034154 commit 58bc1dcCopy full SHA for 58bc1dc
src/tools/opt-dist/src/exec.rs
@@ -113,7 +113,7 @@ impl Bootstrap {
113
"library/std",
114
])
115
.env("RUST_BACKTRACE", "full");
116
- let mut cmd = add_shared_x_flags(env, cmd);
+ let cmd = add_shared_x_flags(env, cmd);
117
118
Self { cmd, metrics_path }
119
}
@@ -193,7 +193,7 @@ impl Bootstrap {
193
194
195
196
-fn add_shared_x_flags(env: &Environment, mut cmd: CmdBuilder) -> CmdBuilder {
+fn add_shared_x_flags(env: &Environment, cmd: CmdBuilder) -> CmdBuilder {
197
if env.is_fast_try_build() {
198
// Skip things that cannot be skipped through `x ... --skip`
199
cmd.arg("--set")
0 commit comments