mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 09:26:26 +04:00
c9a288c110
update: .gitignore, .vscode/settings.json
11 lines
399 B
JSON
11 lines
399 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
|
|
}
|