Skip to content

Commit

Permalink
Explicitly disable bzlmod for rust_analyzer tests
Browse files Browse the repository at this point in the history
It already isn't using bzlmod (the runner creates WORKSPACE.bazel),
making this explicit allows the tests to be run under bazel 8.

(Some work would be required to make test/3rdparty work with bazelmod,
I don't understand what.)
  • Loading branch information
sam-mccall committed Dec 19, 2024
1 parent 0e2fbbf commit be99822
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/rust_analyzer/rust_analyzer_test_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ test_crate_repositories()
EOF

cat <<EOF >"${new_workspace}/.bazelrc"
# TODO: support bzlmod
common --noenable_bzlmod
common --enable_workspace
build --keep_going
test --test_output=errors
# The 'strict' config is used to ensure extra checks are run on the test
Expand Down

0 comments on commit be99822

Please sign in to comment.