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 cf05887
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@
}
}
],
"rust-analyzer.runnables.extraTestBinaryArgs": [
"--nocapture"
],
"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 cf05887

Please sign in to comment.