-
-
Notifications
You must be signed in to change notification settings - Fork 847
Add VSCode Rust Analyzer Settings #159
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
Add VSCode Rust Analyzer Settings #159
Conversation
27280f5
to
f67e297
Compare
The individual tutorials have dedicated settings, e.g. https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/blob/master/17_kernel_symbols/.vscode/settings.json.
99% of the time, I am only opening a dedicated tutorial folder in VS Code, not the entire repo. But I guess it doesn't hurt to have this at the top level as well.
Could you extend your PR so that the added settings file is the same as the one from tutorial 17 linked above?
Fixes errors reported by rust analyzer due to differing target and a missing cargo feature.
f67e297
to
b8e8ebc
Compare
Ah, that makes sense, pushed an update.
Thanks!
Description
Fixes errors reported by rust analyzer due to differing target and a missing cargo feature.
I'm not sure if I'm the only one who ran into this or not, so feel free to close if this shouldn't be needed for some reason!
Pre-commit steps
./contributor_setup.sh
followed by./devtool ready_for_publish
Ruby
withBundler
andNPM
installed locally../devtool ready_for_publish_no_rust
can be used instead (faster).