Merge pull request #150 from PrototypeNM1/win-bundled-lld

Use Rust bundled lld for msvc target
This commit is contained in:
Carter Anderson 2020-08-14 12:48:39 -07:00 committed by GitHub
commit b2f1f2e530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,6 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
[target.x86_64-apple-darwin]
rustflags = ["-Zshare-generics=y"]
# NOTE: you must manually install lld on windows. you can easily do this with the "scoop" package manager:
# `scoop install llvm`
[target.x86_64-pc-windows-msvc]
linker = "lld-link.exe"
rustflags = ["-Clinker=lld", "-Zshare-generics=y"]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=y"]