提交 6b0d8e3f 编写于 作者: chyyuu1972's avatar chyyuu1972

support rust-analyzer for board_qemu features

上级 6a506a52
......@@ -6,5 +6,8 @@
"rust.all_targets": false,
// For Rust Analyzer plugin users:
"rust-analyzer.cargo.target": "riscv64gc-unknown-none-elf",
"rust-analyzer.checkOnSave.allTargets": false
}
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.features": [
"board_qemu"
]
}
\ No newline at end of file
......@@ -9,4 +9,8 @@ edition = "2018"
[dependencies]
clap = "2.33.3"
easy-fs = { path = "../easy-fs" }
rand = "0.8.0"
\ No newline at end of file
rand = "0.8.0"
[features]
board_qemu = []
board_k210 = []
\ No newline at end of file
......@@ -12,3 +12,7 @@ lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
[profile.release]
debug = true
[features]
board_qemu = []
board_k210 = []
\ No newline at end of file
......@@ -13,3 +13,7 @@ riscv = { git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] }
[profile.release]
debug = true
[features]
board_qemu = []
board_k210 = []
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册