much better recompile times

This commit is contained in:
Michal Vanko 2024-09-06 22:32:12 +02:00
parent 3ea78620cd
commit ed8f4037a6

View File

@ -27,11 +27,17 @@ rayon = "1.10.0"
[build]
rustflags = ["-Z", "threads=8"]
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-C", "link-arg=-fuse-ld=lld"
]
[profile.dev]
debug = true
debug = false
opt-level = 0
codegen-units = 16
lto = "thin"
# codegen-units = 16
# lto = "thin"
panic = "unwind"
strip = false
incremental = true