fix for rust-analyzer warning

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

View File

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

View File

@ -12,6 +12,6 @@ riscv = { git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] }
[profile.release] [profile.release]
debug = true debug = true
[features] # [features]
board_qemu = [] # board_qemu = []
board_k210 = [] # board_k210 = []