-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Force default MSVC linker when building on Windows #12855
Conversation
We require contributors to sign our Contributor License Agreement, and we don't have @IceSentry on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
Hey, I don't think we should merge this change.
Instead, I'd suggest overriding your global default for
There'd also be a sibling directory in |
Right, I didn't consider a nested folder because I'm used to not having a checked in About |
Yeah, documenting it in the build guide sounds like a good change, with a link to the issue and all that. |
Here's the updated doc PR #12859 |
Release Notes:
Description
Using
rust-lld.exe
globally on windows is pretty common since it can help speed up compilation. Unfortunately, zed fails to build with that linker. This PR forces the default "link.exe" to be used on windows to avoid this potential error. This is intended as a temporary fix until the reason why it fails to compile with another linker is found.Changing the linker from the global setting might seem a bit wrong but the alternative right now is just crashing with a
STATUS_ACCESS_VIOLATION
without any explanations as to what went wrong.See #12041