Skip to content

Commit 0ade6c6

Browse files
committed
Add proper cargo/rust-analyzer scan settings for vscode, solves rust-lang/rust-analyzer#3801 (comment) for me
1 parent 9566149 commit 0ade6c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rust-analyzer.checkOnSave.allTargets": false,
3+
"rust-analyzer.checkOnSave.extraArgs": [
4+
"--target",
5+
"thumbv6m-none-eabi"
6+
]
7+
}

0 commit comments

Comments
 (0)