Files
dotfiles/.local/share/cargo/config.toml
2025-07-08 09:43:16 +03:00

21 lines
368 B
TOML

[build]
rustc-wrapper = "sccache"
rustflags = ["-Z", "threads=8"]
[profile.release]
lto = true
[unstable]
codegen-backend = true
[profile.dev]
opt-level = 1
codegen-backend = "cranelift"
[profile.dev.package."*"]
opt-level = 3
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] # "target-cpu=native"