Skip to content
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

fix(.bazelrc): change flags to be compatible with Bazel 8 #4224

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
common --enable_platform_specific_config
# TODO: Temporarily disable while rules_go migrates to Bzlmod for its dev build.
# https://github.com/bazelbuild/bazel/issues/18958
common --noexperimental_enable_bzlmod
common --noenable_bzlmod
test --test_output=errors

# Go requires a C toolchain that accepts options and emits errors like
Expand Down
2 changes: 1 addition & 1 deletion go/tools/gopackagesdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ go_bazel_test(
srcs = ["gopackagesdriver_test.go"],
embed = [":gopackagesdriver_lib"],
env = {
"GOPACKAGESDRIVER_BAZEL_COMMON_FLAGS": "--noexperimental_enable_bzlmod",
"GOPACKAGESDRIVER_BAZEL_COMMON_FLAGS": "--noenable_bzlmod",
},
rule_files = ["//:all_files"],
x_defs = {
Expand Down