From 0672ad06ddf7f7a094f50380705da129670c2904 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Mon, 19 Aug 2024 23:19:49 -0400 Subject: [PATCH] chore: bump to Bazel 7.2.0 --- .bazelversion | 2 +- lib/private/BUILD.bazel | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.bazelversion b/.bazelversion index a8a188756..0ee843cc6 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -7.1.2 +7.2.0 diff --git a/lib/private/BUILD.bazel b/lib/private/BUILD.bazel index 384aa236e..67278ccce 100644 --- a/lib/private/BUILD.bazel +++ b/lib/private/BUILD.bazel @@ -263,7 +263,16 @@ bzl_library( srcs = [ "platform_utils.bzl", "@local_config_platform//:constraints.bzl", # keep - ], + "@platforms//host:constraints.bzl", # keep + ] + (select({ + "@aspect_bazel_lib//lib:bzlmod": [ + "@@platforms~host_platform~host_platform//:constraints.bzl", # keep + ], + "//conditions:default": [ + "@host_platform//:constraints.bzl", # keep + "@internal_platforms_do_not_use//host:constraints.bzl", # keep + ], + }) if is_bazel_7_or_greater() else []), visibility = ["//lib:__subpackages__"], deps = [], # keep )