Skip to content

chore(macos): strip Rust static library from release builds#74

Merged
InvertedX merged 1 commit into
Foundation-Devices:mainfrom
sneurlax:chore/macos-release-strip
Jul 14, 2026
Merged

chore(macos): strip Rust static library from release builds#74
InvertedX merged 1 commit into
Foundation-Devices:mainfrom
sneurlax:chore/macos-release-strip

Conversation

@sneurlax

Copy link
Copy Markdown
Collaborator

Add DEAD_CODE_STRIPPING and Release-only STRIP settings to the macOS podspec so the large statically linked Rust library is stripped from release products, reducing the shipped binary size.

This comes from cypherstack/tor's divergences from your upstream Foundation-Devices/tor--we found this change useful and use it currently, but you can take it or leave it :)

Add DEAD_CODE_STRIPPING and Release-only STRIP settings to the macOS
podspec so the large statically linked Rust library is stripped from
release products, reducing the shipped binary size.
@InvertedX
InvertedX merged commit c6ea1bc into Foundation-Devices:main Jul 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants