Skip to content

Commit 2942b72

Browse files
committed
Created new profile for cli
1 parent 096b56b commit 2942b72

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ lto = "thin"
7878
codegen-units = 1
7979
strip = true
8080

81+
[profile.release-cli]
82+
inherits = "release"
83+
lto = true
84+
panic = "abort"
85+
8186
[workspace.lints.clippy]
8287
# Detects large stack-allocated futures that may cause stack overflow crashes (see threshold in clippy.toml)
8388
large_futures = "warn"

0 commit comments

Comments
 (0)