mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-10 22:10:13 -05:00
reduce debug output in release/bench builds
This reduces the binary size from 154 MiB to 70 MiB (#70 progress). Tools like `cargo flamegraph` still work fine. As suggested by "EarthFeet" on reddit: https://www.reddit.com/r/rust/comments/rw0jad/cargos_strip_profile_option_has_been_stabilized/hra193k/
This commit is contained in:
@@ -76,7 +76,7 @@ tempfile = "3.2.0"
|
||||
opt-level = 2
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
debug = 1
|
||||
|
||||
[profile.bench]
|
||||
debug = true
|
||||
debug = 1
|
||||
|
||||
Reference in New Issue
Block a user