Skip to content

Commit

Permalink
feat: Duplicate ra settings for devcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Feb 12, 2025
1 parent aec5216 commit 131c165
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions template/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,20 @@
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.checkOnSave.allTargets": false,
"rust-analyzer.cargo.allTargets": false,
//REPLACE riscv32imac-unknown-none-elf rust_target
"rust-analyzer.cargo.target": "riscv32imac-unknown-none-elf",
//IF option("xtensa")
"rust-analyzer.server.extraEnv": {
"RUSTUP_TOOLCHAIN": "stable"
},
"rust-analyzer.check.extraEnv": {
"RUSTUP_TOOLCHAIN": "esp"
},
"rust-analyzer.cargo.extraEnv": {
"RUSTUP_TOOLCHAIN": "esp"
},
//ENDIF
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
}
Expand Down

0 comments on commit 131c165

Please sign in to comment.