Cargo linter custom target json? #4065
Unanswered
theoparis
asked this question in
Q&A - Ask for help with problems
Replies: 1 comment
-
|
I do not use rust tools so may not be of huge help here but can you post the whole ALEInfo output? Not sure how to specify custom targets but maybe using g:ale_rust_cargo_clippy_options configuration can do? is in the help for ale-rust (e.g. :h ale-rust). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am building a kernel with rust and I need to specify a custom target json (
x86_64.json) but I don't see a way to do this with the current cargo clippy linter. I am using neovim and I have no idea how I would add a custom linter myself in lua... I'd rather have the ability to change the cargo command throughvim.g, but I only see options on configuring cargo features.The only other option is to use VSCode 😕
Do I need to make a github issue on adding custom targets instead?
If I don't specify a custom target it gives a ton of std errors. This also may be due to needing to use
cargo xclippyinstead of clippy, which automatically deals with non-standard library environments.Beta Was this translation helpful? Give feedback.
All reactions