Skip to content

Commit

Permalink
Don't embed debug info in release builds
Browse files Browse the repository at this point in the history
Apparently MinGW embeds DWARF, even in .exe files.
Plus, without some futzing with Windows APIs*, I'm not going to be
getting dumps from users.

* https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump
  • Loading branch information
mrkline committed Mar 22, 2021
1 parent ab1224e commit 8d27257
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
members = ["flt2vhs", "vhscat", "flt-mover"]

[profile.dev]
opt-level = 2 # We want optimization even for debug builds for all the hashing.
opt-level = 3 # We want debug builds be optimized + debug to benchmark them
incremental = true # Iterate faster

[profile.release]
debug = true

0 comments on commit 8d27257

Please sign in to comment.