Disable Bzlmod explicitly in .bazelrc This will help make sure [Bazel Downstream Pipeline](https://github.com/bazelbuild/continuous-integration/blob/master/docs/downstream-testing.md) is green after enabling Bzlmod at Bazel@HEAD See https://github.com/bazelbuild/bazel/issues/18958#issuecomment-1749058780 Related https://github.com/protocolbuffers/protobuf/issues/14313 Closes: https://github.com/protocolbuffers/protobuf/pull/14314 PiperOrigin-RevId: 572920528
diff --git a/.bazelrc b/.bazelrc index c27594d..eba2a89 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -26,3 +26,7 @@ # Workaround for the fact that Bazel links with $CC, not $CXX # https://github.com/bazelbuild/bazel/issues/11122#issuecomment-613746748 build:ubsan --copt=-fno-sanitize=function --copt=-fno-sanitize=vptr + +# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel +# https://github.com/protocolbuffers/protobuf/issues/14313 +common --noenable_bzlmod
diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 0000000..2d43e46 --- /dev/null +++ b/MODULE.bazel
@@ -0,0 +1,2 @@ +# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel +# https://github.com/protocolbuffers/protobuf/issues/14313