-
Notifications
You must be signed in to change notification settings - Fork 27
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
Cargo check not allowing all features #16
Comments
Feature suggestionAdding a list of features (Or a simple check mark) to enable and disable individual features or non-default features. |
Maybe there should be a rust plugin wiki? (I'd be willing to help writing it, though I'm still a beginner in Rust) |
So, rephrasing, is there any way I can help? |
Have you checked
For any issues related to rust LSP itself, you should query https://github.com/rust-lang/rust-analyzer since we this plugin is just a small shim that starts and talks to the LSP. |
Lapce Version
0.2.4
System information
Arch Linux kernel version: 5.15.81-1-lts
Describe the problem
I was working on a Rust project, I had changed it to a library model for ease of organization.
But then I made the GUI a feature which is not compiled by default.
And then the only thing showing up now were syntax highlighting, the only exception was compile-time errors, warnings were ignored.
I have to add the GUI feature to the default temporarily so everything works has expected each time I want to work on it.
(And I have to remember to remove it from the default in the next git push)
Describe the bug
Adding the cargo check flag
--all-features
or--features '*'
show me an error on restart and ask me to check the server logs...But the thing is, the server logs of what? How am I supposed to magically just 'know' where that log file is?
And the features flag should have worked, this is clearly a bug/error in the Rust plugin.
Problem resumed
Cargo check gives an error when passing the
--all-features
flag in the Rust plugin configuration.Lack of information of what server (Probably rust-analyzer or cargo) is the logs from and where the logs even are.
The text was updated successfully, but these errors were encountered: