Use rust-lld on Windows (#518)

This commit is contained in:
Logan McNaughton 2025-07-19 16:31:58 +02:00 committed by GitHub
parent fff376db5e
commit d4e8933352
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]
[target.'cfg(target_os = "windows")']
rustflags = ["-C", "linker=lld-link", "-C", "link-arg=-fuse-ld=lld-link"]
linker = "rust-lld"
[target.'cfg(target_arch = "x86_64")']
rustflags = ["-C", "target-cpu=x86-64-v3"]