about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-05 23:43:56 +0100
committerGitHub <noreply@github.com>2024-11-05 23:43:56 +0100
commit8dee3e978a712bf6ed377473352edfc13f5e235c (patch)
tree53296661b00d148e2f575031491c5518b12758ea /compiler/rustc_codegen_llvm/src/builder.rs
parentefa5af96a1ab626047feb70f54b1cfce0d4a2d36 (diff)
parentf745467cd99cdcb62151c3b0c90f5467e7adfe69 (diff)
downloadrust-8dee3e978a712bf6ed377473352edfc13f5e235c.tar.gz
rust-8dee3e978a712bf6ed377473352edfc13f5e235c.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions