Enable workspace in .bazelrc

Ideally, all external deps should be moved to MODULE.bazel since from Bazel 8 WORKSPACE will be disabled.

Fixes https://github.com/protocolbuffers/protobuf/issues/18043

PiperOrigin-RevId: 674300277
pull/18309/head
Protobuf Team Bot 2 months ago committed by Copybara-Service
parent 4834eb75cb
commit 50eafe9e11
  1. 1
      .bazelrc

@ -26,6 +26,7 @@ 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
common --enable_workspace
# Important: this flag ensures that we remain compliant with the C++ layering
# check.

Loading…
Cancel
Save