diff --git a/.gitignore b/.gitignore index a1aaaf050..3c983c153 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ +# Rust target directories target +target-analyzer # Redis dump /dump.rdb diff --git a/.vscode/settings.json b/.vscode/settings.json index 6f00f5d62..3d162824f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,5 +5,11 @@ "rust-analyzer.showUnlinkedFileNotification": false, "rust-analyzer.cargo.features": [ "oidc" - ] + ], + "rust-analyzer.check.extraArgs": [ + "--target-dir=target-analyzer" + ], + "rust-analyzer.server.extraEnv": { + "CARGO_TARGET_DIR": "target-analyzer" + } } \ No newline at end of file