-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
LLVM missing error when running VSCode-extension #829
Comments
I don't have a Windows machine to test this on right now, but the inkwell backend is not supported on Windows yet. I'll see if I can reproduce the issue the next time I'm on a Windows machine. My guess is that for some reason the inkwell feature is active (it should be deactivated by default because of the limited platform support), so the language server fails to compile leading the extension to throw errors. |
Well that's the odd thing. It does compile the first time (or at least it doesn't throw an error), but after that the compile error is thrown. Maybe I could manually disable the inkwell feature? Alternatively, I also have WSL installed if that helps. |
I was facing the same issue when the inkwell backend was introduced. To solve it I compiled LLVM myself and set the environment variable. |
Yes, I will probably do that. However, nobody can realistically expect users to perform a full LLVM-installation. |
@ctiedt just started working on a new native backend based on Cranelift, which is written in pure Rust and is smaller than LLVM. (I created #886 to track this.) We're not yet sure about what we're going to do with the Inkwell/LLVM-based backend:
|
I regularly get an error, that LLVM is missing when trying to run the VSCode extension. After it crashes 3 times in 5 minutes, the extension cannot be restarted due to the following compile error:
Meanwhile clearing the cargo-cache (with the
cargo-cache
extension andcargo-cache -a
) enables the extension to run again until the next crash happens.My cargo version is cargo 1.76.0-nightly (623b78849 2023-12-02) and my OS is Windows 10.
The error also occurs on my second windows-machine.
The text was updated successfully, but these errors were encountered: