Skip to content

Commit 9bb083a

Browse files
committed
chore: enable strip for release profile to remove debug symbols
1 parent 3cbc1ca commit 9bb083a

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ lto = false
2222
codegen-units = 16
2323
panic = "abort"
2424
opt-level = 2 # opt-level 2 is much faster than 3, still good performance
25+
strip = true # Remove debug symbols from binaries
2526
# for samply
2627
#debug = 1
2728

plcviz/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ regex = "1"
2222
clap = { version = "4.5", features = ["derive"] }
2323

2424
[dev-dependencies]
25-
26-
[profile.release]
27-
strip = true # Remove debug symbols
28-
lto = true # Link-time optimization
29-
codegen-units = 1 # Better optimization

0 commit comments

Comments
 (0)