settings.json 402 B

12345678910
  1. {
  2. // Prevent error "can't find crate for `test`" in no_std
  3. // Ref: https://github.com/rust-lang/vscode-rust/issues/729
  4. // For vscode-rust plugin user:
  5. "rust.target": "riscv64imac-unknown-none-elf",
  6. "rust.all_targets": false,
  7. // For Rust Analyzer:
  8. "rust-analyzer.cargo.target": "riscv64imac-unknown-none-elf",
  9. "rust-analyzer.checkOnSave.allTargets": false
  10. }