about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorDavid Calavera <david.calavera@gmail.com>2021-02-12 10:24:16 -0800
committerDavid Calavera <david.calavera@gmail.com>2021-06-09 09:27:11 -0700
commitdf0fc6daeede7722d631bcb45ed3755eb693580e (patch)
tree3ff1d215e3e6d32253247f4f5d3c590a17362d43 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent9d9c2c92b834c430f102ea96f65119e37320776e (diff)
downloadrust-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_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions