Skip to content

Commit 9b10f98

Browse files
authored
Rollup merge of #110996 - loongarch-rs:fix-bootstrap, r=ozkanonur
bootstrap: Fix compile error: unused-mut Compile errors: ``` Compiling bootstrap v0.0.0 (/home/hev/rust/rust/src/bootstrap) error: variable does not need to be mutable --> config.rs:1312:17 | 1312 | let mut build_target = config | ----^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `-D unused-mut` implied by `-D warnings` error: could not compile `bootstrap` (lib) due to previous error ```
2 parents eae208e + 489925f commit 9b10f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ impl Config {
13091309
if config.llvm_from_ci {
13101310
let triple = &config.build.triple;
13111311
let ci_llvm_bin = config.ci_llvm_root().join("bin");
1312-
let mut build_target = config
1312+
let build_target = config
13131313
.target_config
13141314
.entry(config.build)
13151315
.or_insert_with(|| Target::from_triple(&triple));

0 commit comments

Comments
 (0)