Skip to content

Commit

Permalink
Separate target directory for rust-analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Oct 15, 2023
1 parent 44753d9 commit d179eeb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Rust target directories
target
target-analyzer

# Redis dump
/dump.rdb
Expand Down
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit d179eeb

Please sign in to comment.