-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Windows] Compiling with rust-lld causes STATUS_ACCESS_VIOLATION
#12041
Comments
Does it crash with AV in debug build as well? |
Yes, it appears to crash in both release and debug builds |
I've recently experienced the same issue with a600799 Changing the linker back to the default msvc linker worked. |
I've seen this before here: rust-lang/rust#111480 Note that issue suggests it only happens with |
The |
If Zed's problems are solved, can you upload a file exe |
Is there anyone who has been able to run it on Windows? |
Many people have and do. It works great for me as well (using msvc linker). (But I don't think this issue report is really the place to ask this) |
If you'd like to see some builds, there is an unofficial repo which offers some. Note: This is not official Zed repo, so I offer no guarantees about anything. If you're in doubt, you can always fork it and build it yourself on github actions. |
Very disappointed,use [target.x86_64-pc-windows-msvc]
linker = "link.exe" not useful |
by upgrade Graphics driver, zed work ok. because zed not support lower version vulkan(less than 1.3 maybe)
|
Check for existing issues
Describe the bug / provide steps to reproduce it
Using
rust-lld
as the linker breaks Zed. On startup, Zed immediately crashes with a status access violation. Using the default msvc linker appears to work without issue. Unsure whether this is a rust or Zed issueI originally came across this because I had my config globally set to rust-lld, which unexpectedly caused this.
Edit: Tested with 5ddd343
config.toml
Environment
Visual studio 17.9.7 with Windows 11 SDK (10.0.22621.0) and MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
cargo 1.78.0 (54d8815d0 2024-03-26)
release: 1.78.0
commit-hash: 54d8815d04fa3816edc207bbc4dd36bf18014dbc
commit-date: 2024-03-26
host: x86_64-pc-windows-msvc
libgit2: 1.7.2 (sys:0.18.2 vendored)
libcurl: 8.6.0-DEV (sys:0.4.72+curl-8.6.0 vendored ssl:Schannel)
os: Windows 10.0.22631 (Windows 11 Professional) [64-bit]
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response
The text was updated successfully, but these errors were encountered: