diff --git a/.vscode/settings.json b/.vscode/settings.json index 1057a431c935..9e02216dacc4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" - ] }