Skip to content

Commit a2705d4

Browse files
committed
Set panic=abort and strip symbols
1 parent 2d599e9 commit a2705d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,24 @@ disktest-rawio = { version = "1", path = "./disktest-rawio" }
3535

3636
[profile.dev]
3737
lto = "thin"
38+
panic = "abort"
39+
debug = "limited"
3840
opt-level = 2
3941

4042
[profile.release]
4143
lto = "fat"
44+
panic = "abort"
45+
strip = "symbols"
4246
codegen-units = 1
4347

4448
[profile.test]
4549
lto = "thin"
50+
debug = "limited"
4651
opt-level = 2
4752

4853
[profile.bench]
4954
lto = "fat"
55+
strip = "symbols"
5056
codegen-units = 1
5157

5258
# vim: ts=4 sw=4 expandtab

0 commit comments

Comments
 (0)