diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2024-11-19 18:48:02 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2024-11-19 18:48:02 +0800 |
| commit | 38f0c099b2e684ea689633eb424d8737a1063a5e (patch) | |
| tree | 8b31a2278e1646a799f27c2d0088edf1edc96c85 /src/bootstrap | |
| parent | e6c1e14e5d487a90abeb5ba4dccc608521bbfb54 (diff) | |
| download | rust-38f0c099b2e684ea689633eb424d8737a1063a5e.tar.gz rust-38f0c099b2e684ea689633eb424d8737a1063a5e.zip | |
Default-enable `llvm_tools_enabled` when no `config.toml` is present
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/config/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 95b1303fa71..e706aba977b 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -1255,6 +1255,10 @@ impl Config { }, 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() } } |
