-
Notifications
You must be signed in to change notification settings - Fork 10
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
Check Java and Rustup versions on startup #35
Comments
I think the requirement is >= 11? That is what I am running locally. |
Oh, you are right! The class file version 55.0 corresponds to Java 11, not 12. |
should also be able to configure exactly which rustup and javac bins ought to be used. |
The
We could do something similar with |
I would like prusti to be sensitive to direnv (i tried fiddling a little with the vscode direnv options). I currently need a user-wide installation of rustup in order for prusti to work, which completely breaks my rust-analyzer config elsewhere, since usually direnv is what works. |
I opened an issue to make I don't have much spare time these days, but I'd be happy to review and merge any contribution :) |
As described in the readme, the extension currently requires
Java >=12Java >=11 and Rustup >=1.23. It would be useful to check these versions at startup, as part of the prerequisite checks, reporting an useful error message in case Java/Rustup is not up to date.Feel free to ask for more information if you are interested in working on this!
The text was updated successfully, but these errors were encountered: