Removing panic abort, and config.toml file.

This commit is contained in:
Dessalines 2025-01-03 13:49:58 -05:00
parent 1cfa978ff5
commit 34a8d1bc54
2 changed files with 1 additions and 11 deletions

View file

@ -1,8 +0,0 @@
[unstable]
codegen-backend = true
[profile.dev]
codegen-backend = "cranelift"
[build]
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zthreads=16", "-Ctarget-cpu=native"]

View file

@ -26,11 +26,9 @@ workspace = true
# See https://github.com/johnthagen/min-sized-rust for additional optimizations
[profile.release]
debug = false
lto = true
lto = "fat"
opt-level = 3 # Optimize for speed, not size.
codegen-units = 1 # Reduce parallel code generation.
panic = "abort"
# This profile significantly speeds up build time. If debug info is needed you can comment the line
# out temporarily, but make sure to leave this in the main branch.