Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 03e5f2f

Browse files
committed
use panic=abort and lto=true for release builds
1 parent 13b2ed9 commit 03e5f2f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib-ruby-parser-cpp-bindings/Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,13 @@ lib-ruby-parser = "=3.0.0-8"
2121
[build-dependencies]
2222
bindgen = {version = "0.53.1", optional = true}
2323
lib-ruby-parser-nodes = {version = "0.13.0", optional = true}
24+
25+
[profile.dev]
26+
panic = "abort"
27+
28+
[profile.release]
29+
debug-assertions = false
30+
incremental = false
31+
lto = true
32+
overflow-checks = false
33+
panic = "abort"

0 commit comments

Comments
 (0)