Skip to content

Conversation

@psibi
Copy link
Member

@psibi psibi commented Nov 26, 2025

Taken as it is from Kolme but with a bit of docs.

@psibi psibi requested a review from snoyberg November 26, 2025 11:07
@@ -0,0 +1,3 @@
/target
/target-ra
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This expands to target-rust-analyzer.

Basically I have this setting of rust-analyzer enabled: https://rust-analyzer.github.io/book/configuration.html?highlight=target#cargo.targetDir

Setting a different target directory for rust-analyzer prevents build conflicts and improves performance at the cost of more disk usage. This enables a smoother interaction with rust-analyzer when I have to manually run some cargo commands (which seems to be a lot for my workflow).

@psibi psibi merged commit 8ca5870 into main Nov 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants