From 0e310a9a449e947faceda418860e79bd8f402963 Mon Sep 17 00:00:00 2001 From: Mike Panetta Date: Fri, 10 Nov 2023 01:52:50 -0500 Subject: [PATCH] Fix annoying message about missing test crate --- .vscode/settings.json | 5 +++-- usb-c-fusb302-pi.code-workspace | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5234c64..7097b1e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "rust-analyzer.cargo.target": "thumbv6m-none-eabi", - "rust-analyzer.checkOnSave.allTargets": false, - "editor.formatOnSave": true + "rust-analyzer.check.allTargets": false, + "rust-analyzer.checkOnSave": true, + "editor.formatOnSave": true, } \ No newline at end of file diff --git a/usb-c-fusb302-pi.code-workspace b/usb-c-fusb302-pi.code-workspace index b4a0f82..0ed9739 100644 --- a/usb-c-fusb302-pi.code-workspace +++ b/usb-c-fusb302-pi.code-workspace @@ -8,6 +8,9 @@ } ], "settings": { - "rust-analyzer.cargo.target": "thumbv6m-none-eabi" + "rust-analyzer.cargo.target": "thumbv6m-none-eabi", + "rust-analyzer.check.allTargets": false, + "rust-analyzer.checkOnSave": true, + "editor.formatOnSave": true, } } \ No newline at end of file