fix for rust-analyzer warning

This commit is contained in:
Yu Chen 2022-12-31 11:05:51 +08:00
parent 9f207d4866
commit c1c9b659bf
3 changed files with 9 additions and 9 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 @@ clap = "2.33.3"
easy-fs = { path = "../easy-fs" }
rand = "0.8.0"
[features]
board_qemu = []
board_k210 = []
# [features]
# board_qemu = []
# board_k210 = []

View file

@ -13,6 +13,6 @@ bitflags = "1.2.1"
[profile.release]
debug = true
[features]
board_qemu = []
board_k210 = []
# [features]
# board_qemu = []
# board_k210 = []