about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-03 17:20:39 +0000
committerbors <bors@rust-lang.org>2025-01-03 17:20:39 +0000
commit3f43b1a636738f41c48df073c5bcb97a97bf8459 (patch)
treeb13704e801e0ae77e3c1ea800bc9ace910ca4461 /compiler/rustc_codegen_llvm/src
parent6c8347b9588a302afebb81a1ae6daa64ec37abd0 (diff)
parent4da3aedb5e98cf9f9ce3fd33720b9d2751753dfe (diff)
downloadrust-3f43b1a636738f41c48df073c5bcb97a97bf8459.tar.gz
rust-3f43b1a636738f41c48df073c5bcb97a97bf8459.zip
Auto merge of #135034 - Noratrieb:strip-correctly, r=jieyouxu
Pass objcopy args for stripping on OSX

When `-Cstrip` was changed in #131405 to use the bundled rust-objcopy instead of /usr/bin/strip on OSX, strip-like arguments were preserved.

But strip and objcopy are, while being the same binary, different, they have different defaults depending on which binary they are. Notably, strip strips everything by default, and objcopy doesn't strip anything by default.

Additionally, `-S` actually means `--strip-all`, so debuginfo stripped everything and symbols didn't strip anything.

We now correctly pass `--strip-debug` and `--strip-all`.

fixes #135028

try-job: aarch64-apple
try-job: dist-aarch64-apple
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions