Use mold as linker

Much faster compile times!
This commit is contained in:
Avery
2023-06-04 13:54:10 -04:00
parent 6938ef3599
commit d4b72b9837

3
.cargo/config.toml Normal file
View File

@@ -0,0 +1,3 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]