Default-enable llvm_tools_enabled when no config.toml is present

This commit is contained in:
Jieyou Xu 2024-11-19 18:48:02 +08:00
parent e6c1e14e5d
commit 38f0c099b2

View file

@ -1255,6 +1255,10 @@ impl Config {
}, },
out: PathBuf::from("build"), out: PathBuf::from("build"),
// This is needed by codegen_ssa on macOS to ship `llvm-objcopy` aliased to
// `rust-objcopy` to workaround bad `strip`s on macOS.
llvm_tools_enabled: true,
..Default::default() ..Default::default()
} }
} }