diff options
| author | David Calavera <david.calavera@gmail.com> | 2021-02-12 10:24:16 -0800 |
|---|---|---|
| committer | David Calavera <david.calavera@gmail.com> | 2021-06-09 09:27:11 -0700 |
| commit | df0fc6daeede7722d631bcb45ed3755eb693580e (patch) | |
| tree | 3ff1d215e3e6d32253247f4f5d3c590a17362d43 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 9d9c2c92b834c430f102ea96f65119e37320776e (diff) | |
| download | rust-df0fc6daeede7722d631bcb45ed3755eb693580e.tar.gz rust-df0fc6daeede7722d631bcb45ed3755eb693580e.zip | |
Make symbols stripping work on MacOS X
As reported in the stabilization issue, MacOS' linker doesn't support the `-s` and `-S` flags to strip symbols anymore. However, the os ships a separated tool to perform these operations. This change allows the compiler to use that tool after a target has been compiled to strip symbols. For rationale, see: https://github.com/rust-lang/rust/issues/72110#issuecomment-641169818 For option selection, see: https://www.unix.com/man-page/osx/1/strip/ Signed-off-by: David Calavera <david.calavera@gmail.com>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
