mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 01:16:26 +04:00
fix for rust-analyzer warning
This commit is contained in:
parent
1054ca153c
commit
20532db0dc
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@ -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"
|
||||||
]
|
// ]
|
||||||
}
|
}
|
@ -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 = []
|
Loading…
Reference in New Issue
Block a user