embedded-trainings-2020/beginner/apps/.vscode/settings.json
Rafael Bachmann 9135cb8eef
Specify rust target in settings.json
This seems to fix the issue described here: https://github.com/rust-lang/vscode-rust/issues/729
2020-10-01 20:04:57 +02:00

12 lines
459 B
JSON

{
// override the default setting (`cargo check --all-targets`) which produces the following error
// "can't find crate for `test`" when the default compilation target is a no_std target
// with these changes RA will call `cargo check --bins` on save
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.checkOnSave.extraArgs": [
"--bins"
],
"rust.target": "thumbv7em-none-eabihf",
"rust.all_targets": false
}