dotfiles/cargo/config.toml.nixtemplate
2023-07-15 15:10:12 -04:00

13 lines
234 B
Text

[net]
git-fetch-with-cli = true
[profile.release]
lto = true
opt-level = 3
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=@profileDir@/bin/mold"]
[registries.crates-io]
protocol = "sparse"