diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-12 12:14:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-12 12:14:28 +0200 |
| commit | 265e0f0d4b89038052f80c0332608dda9d87af6b (patch) | |
| tree | 1b23ef70761e0937d02f5c93c320ac8c8f104b87 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | cf3c41aa9d31ea199e82ce6c3fa27a096d35b0c4 (diff) | |
| parent | 8558b352955b39267b1663de3c4867a6092d6099 (diff) | |
| download | rust-265e0f0d4b89038052f80c0332608dda9d87af6b.tar.gz rust-265e0f0d4b89038052f80c0332608dda9d87af6b.zip | |
Rollup merge of #97991 - davidkna:fix-macos-strip, r=joshtriplett
Use safer `strip=symbols`-flag for dylibs on macOS Closes #93988 To safely strip dylibs on macOS, the `-x` flag is needed per the manpage (see the discussion here: https://github.com/rust-lang/rust/issues/93988#issuecomment-1042574854). Thus, when the current `crate_type` is producing a dylib (I assume this is the case for proc macros) use the `-x` flag instead of bare `strip` for `strip=symbols`.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
