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] [build]
rustflags = ["-Z", "threads=8"] rustflags = ["-Z", "threads=8"]
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-C", "link-arg=-fuse-ld=lld"
]
[profile.dev] [profile.dev]
debug = true debug = false
opt-level = 0 opt-level = 0
codegen-units = 16 # codegen-units = 16
lto = "thin" # lto = "thin"
panic = "unwind" panic = "unwind"
strip = false strip = false
incremental = true incremental = true