From 9135cb8eef2455f14cafd82bf9a21c423f53f896 Mon Sep 17 00:00:00 2001 From: Rafael Bachmann Date: Thu, 1 Oct 2020 20:04:57 +0200 Subject: [PATCH] Specify rust target in settings.json This seems to fix the issue described here: https://github.com/rust-lang/vscode-rust/issues/729 --- beginner/apps/.vscode/settings.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/beginner/apps/.vscode/settings.json b/beginner/apps/.vscode/settings.json index c684c24..96d3f25 100644 --- a/beginner/apps/.vscode/settings.json +++ b/beginner/apps/.vscode/settings.json @@ -5,5 +5,7 @@ "rust-analyzer.checkOnSave.allTargets": false, "rust-analyzer.checkOnSave.extraArgs": [ "--bins" - ] + ], + "rust.target": "thumbv7em-none-eabihf", + "rust.all_targets": false }