From 489925fcaf94fa194e213954d4e9860f2ddf7ba5 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Sun, 30 Apr 2023 00:58:09 +0800 Subject: [PATCH] bootstrap: Fix compile error: unused-mut --- src/bootstrap/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index ca6dcaf495743..4ef95b3370ff8 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));