Skip to content

Commit

Permalink
build: use different target dir for rust-analyzer to prevent thrashin…
Browse files Browse the repository at this point in the history
…g with cargo
  • Loading branch information
MingweiSamuel committed Sep 23, 2024
1 parent afe78c3 commit 655b80e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@
}
}
],
"rust-analyzer.cargo.features": [
"python"
],
"rust-analyzer.server.extraEnv": {
"CARGO_TARGET_DIR": "${workspaceFolder}/target/rust-analyzer",
},
"files.watcherExclude": {
"**/target": true
},
"rust-analyzer.cargo.features": [
"python"
]
}

0 comments on commit 655b80e

Please sign in to comment.