Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Rust bundled lld for msvc target #150

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

PrototypeNM1
Copy link
Contributor

-Clinker=lld was overwriting linker="lld-link.exe"; having both is unnecessary.
Using the bundled lld (rust-lld) for Windows.

As outlined here, there are concerns for defaulting to lld on Linux/Unix that don't apply to Windows. On Windows it's expected that the linker is called directly, which is why linker can be assigned to lld for Windows but must be assigned to clang/gcc on Linux.

Blocking issues related to defaulting to lld on Windows can be found here. I don't think any of those issues apply especially to the bundled rust-lld aside from it may get patches later (or sooner) than llvm packages elsewhere.

…necessary.

Using the bundled lld (rust-lld) for Windows.
@cart
Copy link
Member

cart commented Aug 13, 2020

Awesome. I'll give this a quick test, but this is a very welcome simplification. A number of folks had issues with setting up lld.

@karroffel karroffel added A-Build-System Related to build systems or continuous integration O-Windows Specific to the Windows desktop operating system labels Aug 13, 2020
@cart
Copy link
Member

cart commented Aug 14, 2020

This works on my machine. Thanks!

@cart cart merged commit b2f1f2e into bevyengine:master Aug 14, 2020
@cart cart mentioned this pull request Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Build-System Related to build systems or continuous integration O-Windows Specific to the Windows desktop operating system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants