fix for rust-analyzer warning
This commit is contained in:
parent
9f207d4866
commit
c1c9b659bf
3 changed files with 9 additions and 9 deletions
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
@ -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"
|
||||
// ]
|
||||
}
|
|
@ -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 = []
|
|
@ -13,6 +13,6 @@ bitflags = "1.2.1"
|
|||
[profile.release]
|
||||
debug = true
|
||||
|
||||
[features]
|
||||
board_qemu = []
|
||||
board_k210 = []
|
||||
# [features]
|
||||
# board_qemu = []
|
||||
# board_k210 = []
|
Loading…
Add table
Add a link
Reference in a new issue