Skip to content

Commit 743e4b8

Browse files
committed
perf: Optimize release builds
1 parent d159ec5 commit 743e4b8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ verbose_file_reads = "warn"
8686
wildcard_imports = "warn"
8787
zero_sized_map_values = "warn"
8888

89+
[profile.dev]
90+
panic = "abort"
91+
92+
[profile.release]
93+
panic = "abort"
94+
codegen-units = 1
95+
lto = true
96+
debug = "line-tables-only"
97+
8998
[package]
9099
name = "PROJECT"
91100
version = "0.0.1"

0 commit comments

Comments
 (0)