Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cc09970

Browse files
zicklagandre-richter
authored andcommitted
Add VSCode Rust Analyzer Settings
Fixes errors reported by rust analyzer due to differing target and a missing cargo feature.
1 parent 8513ccf commit cc09970

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎.vscode/settings.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
22
"editor.formatOnSave": true,
3-
"editor.rulers": [100]
3+
"editor.rulers": [100],
4+
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
5+
"rust-analyzer.cargo.features": ["bsp_rpi3"],
6+
"rust-analyzer.checkOnSave.allTargets": false,
7+
"rust-analyzer.checkOnSave.extraArgs": ["--lib", "--bins"],
8+
"rust-analyzer.lens.debug": false,
9+
"rust-analyzer.lens.run": false
410
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /