diff options
| author | WANG Rui <wangrui@loongson.cn> | 2023-04-30 00:58:09 +0800 |
|---|---|---|
| committer | WANG Rui <wangrui@loongson.cn> | 2023-04-30 00:58:09 +0800 |
| commit | 489925fcaf94fa194e213954d4e9860f2ddf7ba5 (patch) | |
| tree | d9f9b4ee266485a42a16503f57e59ef4dcc9d147 | |
| parent | f2299490c11b0c53ece5f6a13dd092fc9c99d264 (diff) | |
| download | rust-489925fcaf94fa194e213954d4e9860f2ddf7ba5.tar.gz rust-489925fcaf94fa194e213954d4e9860f2ddf7ba5.zip | |
bootstrap: Fix compile error: unused-mut
| -rw-r--r-- | src/bootstrap/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index ca6dcaf4957..4ef95b3370f 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -1309,7 +1309,7 @@ impl Config { if config.llvm_from_ci { let triple = &config.build.triple; let ci_llvm_bin = config.ci_llvm_root().join("bin"); - let mut build_target = config + let build_target = config .target_config .entry(config.build) .or_insert_with(|| Target::from_triple(&triple)); |
