From 20e14b8edbbf067ab683ffdb170938838d9167b3 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 12 Feb 2022 00:24:04 +0100 Subject: embassy, embassy-nrf: add `nightly` Cargo feature to gate nightly-only features. --- .vscode/settings.json | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to '.vscode') diff --git a/.vscode/settings.json b/.vscode/settings.json index 3defc9077..79433a7c9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,16 +4,19 @@ "rust-analyzer.assist.importGranularity": "module", "rust-analyzer.checkOnSave.allFeatures": false, "rust-analyzer.checkOnSave.allTargets": false, - "rust-analyzer.checkOnSave.command": "clippy", + "rust-analyzer.checkOnSave.noDefaultFeatures": true, + "rust-analyzer.cargo.allFeatures": false, "rust-analyzer.cargo.noDefaultFeatures": true, "rust-analyzer.experimental.procAttrMacros": false, - "rust-analyzer.checkOnSave.noDefaultFeatures": true, + "rust-analyzer.procMacro.enable": true, + "rust-analyzer.cargo.runBuildScripts": true, "rust-analyzer.cargo.target": "thumbv7em-none-eabi", "rust-analyzer.cargo.features": [ // These are needed to prevent embassy-net from failing to build //"embassy-net/medium-ethernet", //"embassy-net/tcp", //"embassy-net/pool-16", + "nightly", ], "rust-analyzer.linkedProjects": [ // Declare for the target you wish to develop @@ -35,12 +38,4 @@ // "examples/stm32wl55/Cargo.toml", // "examples/wasm/Cargo.toml", ], - "rust-analyzer.procMacro.enable": true, - "rust-analyzer.cargo.runBuildScripts": true, - "files.watcherExclude": { - "**/.git/objects/**": true, - "**/.git/subtree-cache/**": true, - "**/target/**": true - }, - "git.ignoreLimitWarning": true } \ No newline at end of file -- cgit