fix for rust-analyzer warning

This commit is contained in:
Yu Chen 2022-12-31 11:09:23 +08:00
parent b46036b2e5
commit c712b279e7
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -11,6 +11,6 @@ edition = "2018"
[profile.release]
debug = true
[features]
board_qemu = []
board_k210 = []
# [features]
# board_qemu = []
# board_k210 = []