1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

Point Rust Analayzer to target/rust-analyzer

This commit is contained in:
Emil Ernerfeldt
2026-08-28 14:24:38 +02:00
parent 5d3e958ecf
commit 97b4ef6c9f
3 changed files with 9 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
}
},
"files.exclude": {
"target_ra/**": true,
"target_ra/**": true, // legacy Rust Analyzer target dir
"target_wasm/**": true,
"target/**": true,
},
@@ -18,7 +18,7 @@
"rust-analyzer.cargo.allTargets": true,
"rust-analyzer.cargo.features": "all",
// Use a separate target directory for Rust Analyzer so it doesn't prevent cargo/clippy from doing things.
"rust-analyzer.cargo.targetDir": "target_ra",
"rust-analyzer.cargo.targetDir": true,
"rust-analyzer.showUnlinkedFileNotification": false,
// Uncomment the following options and restart rust-analyzer to get it to check code behind `cfg(target_arch=wasm32)`.
// Don't forget to put it in a comment again before committing.