fix for rust-analyzer warning

This commit is contained in:
Yu Chen 2022-12-31 11:08:03 +08:00
parent 6d35fdedf6
commit c776b9e716
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 @@ buddy_system_allocator = "0.6"
[profile.release] [profile.release]
debug = true debug = true
[features] # [features]
board_qemu = [] # board_qemu = []
board_k210 = [] # board_k210 = []