mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Rollup merge of #133207 - jieyouxu:macos-objcopy, r=Kobzol,bjorn3
Default-enable `llvm_tools_enabled` when no `config.toml` is present Fixes #133195. cc `@wesleywiser` could you double check if with this patch and no `config.toml` that you can run `./x test tests/ui --stage 1`? `llvm-objcopy` is usually required by cg_ssa on macOS to workaround bad `strip`s. cc `@bjorn3` I hope this doesn't break cg_clif... r? bootstrap
This commit is contained in:
commit
49aec06ab0
@ -38,6 +38,11 @@ local-rebuild = true
|
||||
codegen-backends = ["cranelift"]
|
||||
deny-warnings = false
|
||||
verbose-tests = false
|
||||
# The cg_clif sysroot doesn't contain llvm tools and unless llvm_tools is
|
||||
# disabled bootstrap will crash trying to copy llvm tools for the bootstrap
|
||||
# compiler.
|
||||
llvm_tools = false
|
||||
|
||||
EOF
|
||||
popd
|
||||
|
||||
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
@ -300,4 +300,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
|
||||
severity: ChangeSeverity::Info,
|
||||
summary: "`download-rustc='if-unchanged'` is now a default option for library profile.",
|
||||
},
|
||||
ChangeInfo {
|
||||
change_id: 133207,
|
||||
severity: ChangeSeverity::Info,
|
||||
summary: "`rust.llvm-tools` is now enabled by default when no `config.toml` is provided.",
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user