Use mold linker to speed up build times.

This commit is contained in:
Sebastian Jeltsch
2025-02-06 12:17:30 +01:00
parent 639b6ab272
commit e0994eb108

8
.cargo/config.toml Normal file
View File

@@ -0,0 +1,8 @@
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]
# [unstable]
# codegen-backend = true
#
# [profile.dev]
# codegen-backend = "cranelift"