Add an explicit self-reference `local_repository`

To keep the build working on Bazel 7. See https://github.com/bazelbuild/bazel/issues/19973#issuecomment-1787814450 for more info.

PiperOrigin-RevId: 578968403
pull/14607/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent f98f38bb20
commit da7245ca0b
  1. 5
      WORKSPACE

@ -1,5 +1,10 @@
workspace(name = "com_google_protobuf")
# An explicit self-reference to work around changes in Bazel 7.0
# See https://github.com/bazelbuild/bazel/issues/19973#issuecomment-1787814450
# buildifier: disable=duplicated-name
local_repository(name = "com_google_protobuf", path = ".")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
local_repository(

Loading…
Cancel
Save