Update windows doc to mention rust-lld linker error (#12859)

Release Notes:

- N/A

## Description

When using rust-lld it's possible to get a `STATUS_ACCESS_VIOLATION`
error at compile time. I added a bit of information about it in the
build guide for windows to recommend using a different linker when
building `zed`.

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
IceSentry 2024-06-10 17:51:30 -04:00 committed by GitHub
parent 6afed19a00
commit 1914a42b1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,3 +86,11 @@ Before reporting the issue, make sure that you have the latest rustc version wit
### Cargo errors claiming that a dependency is using unstable features ### Cargo errors claiming that a dependency is using unstable features
Try `cargo clean` and `cargo build`. Try `cargo clean` and `cargo build`.
### `STATUS_ACCESS_VIOLATION`
This error can happen if you are using the "rust-lld.exe" linker. Consider trying a different linker.
If you are using a global config, consider moving the Zed repository to a nested directory and add a `.cargo/config.toml` with a custom linker config in the parent directory.
See this issue for more information [#12041](https://github.com/zed-industries/zed/issues/12041)