From 0870fadf4c409195cb4ef918c4a6668b67258679 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Tue, 20 Aug 2024 16:14:37 -0400 Subject: [PATCH] chore: remove non-bzlmod dep on @internal_platforms_do_not_use//host:constraints.bzl now that root workspace is bzlmod-only (#916) --- lib/private/BUILD.bazel | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/private/BUILD.bazel b/lib/private/BUILD.bazel index 84f1b0f..b415923 100644 --- a/lib/private/BUILD.bazel +++ b/lib/private/BUILD.bazel @@ -265,12 +265,7 @@ bzl_library( "@host_platform//:constraints.bzl", # keep "@local_config_platform//:constraints.bzl", # keep "@platforms//host:constraints.bzl", # keep - ] + (select({ - "@aspect_bazel_lib//lib:bzlmod": [], - "//conditions:default": [ - "@internal_platforms_do_not_use//host:constraints.bzl", # keep - ], - }) if is_bazel_7_or_greater() else []), + ], visibility = ["//lib:__subpackages__"], deps = [], # keep )