Fix OOTB workspace issues with embassy-net

This commit is contained in:
Dario Nieuwenhuis 2021-07-14 21:58:07 +02:00
parent 2d9e2908df
commit 7dd7f391fc
2 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,11 @@
"rust-analyzer.checkOnSave.allFeatures": false,
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.target": "thumbv7em-none-eabi",
"rust-analyzer.checkOnSave.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"
],
"rust-analyzer.procMacro.enable": true,
"rust-analyzer.cargo.runBuildScripts": true,
"files.watcherExclude": {

View File

@ -22,6 +22,7 @@ members = [
"embassy-traits",
"embassy-macros",
"embassy-extras",
"embassy-net",
# Uncomment ONLY ONE of the groups below.