mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-11-15 13:14:05 +00:00
10 lines
384 B
JSON
10 lines
384 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"
|
||
|
]
|
||
|
}
|