Skip to content

Commit 3de915d

Browse files
AMS21smoelius
authored andcommitted
Enable LTO and strip symbols for release builds
1 parent f4588c7 commit 3de915d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ pedantic = { level = "warn", priority = -1 }
1111
disallowed-macros = "allow"
1212
format-push-string = "allow"
1313
missing-panics-doc = "allow"
14+
15+
[profile.release]
16+
lto = "fat"
17+
strip = "symbols"
18+
codegen-units = 1

0 commit comments

Comments
 (0)