Skip to content

Tweak recommended script for rust analyzer project discovery #3449

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cameron-martin
Copy link
Contributor

The previous script set the output_base, which is good for keeping the bazel instances isolated but this causes every bazel workspace to use the same directory. Using output_user_root instead causes bazel to create a separate directory for every workspace, keeping them isolated.

I have also updated this directory from ~/ide_bazel to ~/.cache/bazel_ra, since this puts it in a similar location to the default output_user_root, which is ~/.cache/bazel/_bazel_$USER.

The previous script set the `output_base`, which is good for keeping the bazel instances isolated but this causes every bazel workspace to use the same directory. Using `output_user_root` instead causes bazel to create a separate directory for every workspace, keeping them isolated.

I have also updated this directory from `~/ide_bazel` to `~/.cache/bazel_ra`, since this puts it in a similar location to the default `output_user_root`, which is `~/.cache/bazel/_bazel_$USER`.
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.

1 participant