Skip to content

Commit 7f1b063

Browse files
build: update profile
1 parent b626af7 commit 7f1b063

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Cargo.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@ resolver = "2"
1414
members = ["cli", "tools/build-from-source"]
1515

1616
[profile.release]
17+
codegen-units = 1 # Reduce number of codegen units to increase optimizations
1718
opt-level = 3
18-
lto = "fat"
19-
debug = false
20-
strip = true
19+
panic = "abort" # Abort on panic
2120

22-
[profile.relwithdebinfo]
21+
# The profile that 'dist' will build with
22+
[profile.dist]
2323
inherits = "release"
2424
lto = "thin"
25-
debug = true
26-
strip = false
2725

2826
[workspace.dependencies]
2927

0 commit comments

Comments
 (0)