Update windows doc to mention rust-lld linker error (#12859)
IceSentry
and
Marshall Bowers
created
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>
@@ -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
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)