mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-06-05 16:08:54 +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
|
# See https://github.com/johnthagen/min-sized-rust for additional optimizations
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = false
|
lto = "fat"
|
||||||
lto = true
|
|
||||||
opt-level = 3 # Optimize for speed, not size.
|
opt-level = 3 # Optimize for speed, not size.
|
||||||
codegen-units = 1 # Reduce parallel code generation.
|
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
|
# 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.
|
# out temporarily, but make sure to leave this in the main branch.
|
||||||
|
|
Loading…
Reference in a new issue