Skip to content

Commit

Permalink
Add --enable_workpace in .bazelrc
Browse files Browse the repository at this point in the history
Addressing #4078

Related: bazelbuild/bazel#23023
  • Loading branch information
meteorcloudy authored Sep 10, 2024
1 parent fb5f091 commit d2691c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ build:incompatible --incompatible_enable_proto_toolchain_resolution
# TODO: Add --incompatible_disallow_empty_glob once
# https://github.com/bazelbuild/bazel-gazelle/pull/1405 has been released.
test:incompatible --test_env=GO_BAZEL_TEST_BAZELFLAGS='--incompatible_load_proto_rules_from_bzl --incompatible_enable_cc_toolchain_resolution --incompatible_config_setting_private_default_visibility --incompatible_enforce_config_setting_visibility --incompatible_disable_starlark_host_transitions --nolegacy_external_runfiles --incompatible_enable_proto_toolchain_resolution'

# Enable WORKSPACE
# TODO: Remove --enable_workspace after all dependencies are migrated to MODULE.bazel
common --enable_workspace

0 comments on commit d2691c3

Please sign in to comment.