mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-23 18:06:24 +04:00
support rust-analyzer for board_qemu features
This commit is contained in:
parent
6a506a52e3
commit
6b0d8e3fce
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -6,5 +6,8 @@
|
|||||||
"rust.all_targets": false,
|
"rust.all_targets": false,
|
||||||
// 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": [
|
||||||
|
"board_qemu"
|
||||||
|
]
|
||||||
}
|
}
|
@ -10,3 +10,7 @@ edition = "2018"
|
|||||||
clap = "2.33.3"
|
clap = "2.33.3"
|
||||||
easy-fs = { path = "../easy-fs" }
|
easy-fs = { path = "../easy-fs" }
|
||||||
rand = "0.8.0"
|
rand = "0.8.0"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
board_qemu = []
|
||||||
|
board_k210 = []
|
@ -12,3 +12,7 @@ lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
|
[features]
|
||||||
|
board_qemu = []
|
||||||
|
board_k210 = []
|
@ -13,3 +13,7 @@ riscv = { git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] }
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
|
[features]
|
||||||
|
board_qemu = []
|
||||||
|
board_k210 = []
|
Loading…
Reference in New Issue
Block a user