Skip to content

Commit

Permalink
Strip release binaries less aggressively
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlarsen committed Dec 20, 2024
1 parent 47b2739 commit 74ccfc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Note that the use of semantic versioning applies to the command-line interface a

- Fixed a typo in the `report` command that could cause a diagnostic message about suppressed matches to be incorrect ([#239](https://github.com/praetorian-inc/noseyparker/pull/239)).

- Release binaries are no longer stripped of symbols, just of debug info.
This should improve stack trace collection in the event of a crash on Linux systems.

### Changes
- The `Slack Bot Token` rule has been modified to match additional cases.
- The `rules check` command now more thoroughly checks the number of capture groups of each rule
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ publish = false
opt-level = 3
lto = "thin"

strip = true # strip out debug info and symbols

split-debuginfo = "packed" # generate separate packed debug info
# strip out debug info from binary, but generate separate debuginfo
strip = "debuginfo"
split-debuginfo = "packed"

debug = "line-tables-only" # generate enough debug info to give useful stack traces upon panic
#debug = true # generate full debug info; significantly larger!
Expand Down

0 comments on commit 74ccfc7

Please sign in to comment.