Overflow checks in release profile per tradition
This commit is contained in:
parent
2ac7b85ea5
commit
e97d47d5fb
Notes:
git
2025-04-18 13:49:32 +00:00
@ -8,4 +8,16 @@ publish = false # Don't publish to crates.io
|
||||
[lib]
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[profile.release]
|
||||
# NOTE: --enable-zjit builds use `rustc` without going through Cargo. You
|
||||
# might want to update the `rustc` invocation if you change this profile.
|
||||
opt-level = 3
|
||||
# The extra robustness that comes from checking for arithmetic overflow is
|
||||
# worth the performance cost for the compiler.
|
||||
overflow-checks = true
|
||||
# Generate debug info
|
||||
debug = true
|
||||
# Use ThinLTO. Much smaller output for a small amount of build time increase.
|
||||
lto = "thin"
|
||||
|
||||
[dependencies]
|
||||
|
Loading…
x
Reference in New Issue
Block a user