set CARGO_TARGET_DIR too

This commit is contained in:
Bryan Stitt 2023-08-22 10:44:53 -07:00
parent d036806a61
commit ed46543b89

@ -1,6 +1,9 @@
{
"rust-analyzer.server.extraEnv": {
"CARGO_TARGET_DIR": "target/rust-analyzer"
},
"rust-analyzer.checkOnSave.extraArgs": [
"--target-dir",
"${workspaceFolder}/target/check"
"target/rust-analyzer"
]
}