1
Fork 0
rust/compiler/rustc_codegen_ssa/src
Matthias Krüger 8dee3e978a
Rollup merge of #131405 - davidtwco:hardcoded-strip-macos, r=jieyouxu,albertlarsan68
bootstrap/codegen_ssa: ship llvm-strip and use it for -Cstrip

Fixes #131206.

- Includes `llvm-strip` (a symlink to `llvm-objcopy`) in the compiler dist artifact so that it can be used for `-Cstrip` instead of the system tooling.
- Uses `llvm-strip` instead of `/usr/bin/strip` for macOS. macOS needs a specific linker and the system one is preferred, hence #130781 but that doesn't work when cross-compiling, so use the `llvm-strip` utility instead.

cc #123151
2024-11-05 23:43:56 +01:00
..
back codegen_ssa: use llvm-objcopy for macOS strip 2024-11-05 11:49:37 +00:00
debuginfo compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
mir compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
traits compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
assert_module_sources.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
base.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
codegen_attrs.rs Auto merge of #129884 - RalfJung:forbidden-target-features, r=workingjubilee 2024-11-05 16:25:45 +00:00
common.rs Clean up formatting. 2024-09-17 16:24:35 +10:00
errors.rs Rollup merge of #131405 - davidtwco:hardcoded-strip-macos, r=jieyouxu,albertlarsan68 2024-11-05 23:43:56 +01:00
lib.rs Emit diagnostics for incorrect deployment targets 2024-11-01 17:07:19 +01:00
meth.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
mono_item.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
size_of_val.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
target_features.rs mark some target features as 'forbidden' so they cannot be (un)set 2024-11-04 22:56:47 +01:00