mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-23 18:06:24 +04:00
13 lines
473 B
JSON
13 lines
473 B
JSON
{
|
|
// Prevent "can't find crate for `test`" error on no_std
|
|
// Ref: https://github.com/rust-lang/vscode-rust/issues/729
|
|
// For vscode-rust plugin users:
|
|
"rust.target": "riscv64gc-unknown-none-elf",
|
|
"rust.all_targets": false,
|
|
// For Rust Analyzer plugin users:
|
|
"rust-analyzer.cargo.target": "riscv64gc-unknown-none-elf",
|
|
"rust-analyzer.checkOnSave.allTargets": false,
|
|
// "rust-analyzer.cargo.features": [
|
|
// "board_qemu"
|
|
// ]
|
|
} |