-
Notifications
You must be signed in to change notification settings - Fork 13.4k
make rust-analyzer use a dedicated directory #141839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
This comment has been minimized.
This comment has been minimized.
This avoids rust-analyzer having to wait for a build lock due to ./x running other commands (and the other way around). This was inspired by Helix settings.
I feel like this was discussed #general > ✔ Setup multiple editors for work on standard lib? @ 💬 but I don't remember why we used a top-level |
Oh I think it just happens to be an option that works. |
It has unintuitive interactions with If people choose to inflict those risks on themselves, fine, but I don’t think a nested RA build directory is a responsible default. |
Oh right. I think that's the caveat I was vaguely recalling... |
would it be good to get |
Or even just avoid deleting |
Bootstrap “owns” the build directory, so I think it's reasonable for
IIRC, one of the motivations people commonly cite for using |
Anyhow, I strongly agree that our default IDE configs really should be using a separate build dir (e.g. |
inspired by #132794