support rust-analyzer for board_qemu features

This commit is contained in:
Yu Chen 2022-07-14 09:37:06 +08:00
parent 62931b3663
commit 637cb41d46
4 changed files with 18 additions and 3 deletions

View file

@ -6,5 +6,8 @@
"rust.all_targets": false,
// For Rust Analyzer plugin users:
"rust-analyzer.cargo.target": "riscv64gc-unknown-none-elf",
"rust-analyzer.checkOnSave.allTargets": false
}
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.features": [
"board_qemu"
]
}