Make VSCodium Rust experience more robust

This commit is contained in:
Michael Bradley 2025-05-24 13:22:07 -04:00
parent 0896ccf691
commit 62da4093ea
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4

12
.vscode/settings.json vendored
View file

@ -1,8 +1,19 @@
{ {
"files.readonlyFromPermissions": true,
"files.readonlyInclude": {
"**/.rustup/**": true,
"**/.cargo/registry/**": true,
"**/.cargo/git/**": true,
"**/.local/share/cargo/registry/**": true,
"**/.local/share/cargo/git/**": true
},
"[rust]": { "[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer", "editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true "editor.formatOnSave": true
}, },
"rust-analyzer.cargo.extraEnv": {
"RUSTFLAGS": "-Clinker=clang -Clink-arg=-fuse-ld=lld"
},
"rust-analyzer.check.command": "clippy", // "check", // "rust-analyzer.check.command": "clippy", // "check", //
"rust-analyzer.cargo.targetDir": true, "rust-analyzer.cargo.targetDir": true,
"cSpell.words": [ "cSpell.words": [
@ -13,6 +24,7 @@
"PRNG", "PRNG",
"recip", "recip",
"respawns", "respawns",
"Seedable",
"timestep", "timestep",
"timesteps", "timesteps",
"winit", "winit",