mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-10 00:55:25 +00:00
Removing panic abort, and config.toml file.
This commit is contained in:
parent
1cfa978ff5
commit
34a8d1bc54
2 changed files with 1 additions and 11 deletions
|
@ -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"]
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue