Skip to content

Make symbols stripping work on MacOS X#82037

Merged
bors merged 1 commit intorust-lang:masterfrom
calavera:strip_debuginfo_osx
Jun 10, 2021
Merged

Make symbols stripping work on MacOS X#82037
bors merged 1 commit intorust-lang:masterfrom
calavera:strip_debuginfo_osx

Conversation

@calavera
Copy link
Contributor

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: #72110 (comment)
For option selection, see: https://www.unix.com/man-page/osx/1/strip/

Signed-off-by: David Calavera david.calavera@gmail.com

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.