Skip to content

Commit 38f0c09

Browse files
committed
Default-enable llvm_tools_enabled when no config.toml is present
1 parent e6c1e14 commit 38f0c09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/src/core/config/config.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,10 @@ impl Config {
12551255
},
12561256
out: PathBuf::from("build"),
12571257

1258+
// This is needed by codegen_ssa on macOS to ship `llvm-objcopy` aliased to
1259+
// `rust-objcopy` to workaround bad `strip`s on macOS.
1260+
llvm_tools_enabled: true,
1261+
12581262
..Default::default()
12591263
}
12601264
}

0 commit comments

Comments
 (0)