Skip to content

security: strip debug symbols from release builds#348

Open
hongkongkiwi wants to merge 1 commit intoexpressvpn:mainfrom
hongkongkiwi:security-strip-debug-symbols
Open

security: strip debug symbols from release builds#348
hongkongkiwi wants to merge 1 commit intoexpressvpn:mainfrom
hongkongkiwi:security-strip-debug-symbols

Conversation

@hongkongkiwi
Copy link

Summary

Strip debug symbols from release builds to reduce binary size and improve security.

Changes

  • Changed debug = 1 to strip = "symbols" in [profile.release] section of Cargo.toml

Security Impact

  • Reduces binary size
  • Removes debug information that could aid reverse engineering
  • Makes debugging production crashes slightly harder (but production should use crash reporting tools)

Replace debug=1 with strip=symbols in release profile to reduce binary
size and remove debug symbols that could aid reverse engineering.
@hongkongkiwi hongkongkiwi requested a review from a team as a code owner January 28, 2026 03:47
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.

1 participant