Skip to content

Commit

Permalink
Always strip in release mode (#5745)
Browse files Browse the repository at this point in the history
Decreases linux release wheel size by 2MB.

See rust-lang/cargo#14346

Fixes #5683
  • Loading branch information
konstin committed Aug 3, 2024
1 parent 35b9824 commit 0098173
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,12 @@ rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"

[profile.release]
strip = true

[profile.profiling]
inherits = "release"
strip = false
debug = true

[profile.fast-build]
Expand Down

0 comments on commit 0098173

Please sign in to comment.