From 41017ef8dc3d03e1ac8c24820ad8ed9aca522bef Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Tue, 25 Oct 2022 15:40:24 -0700 Subject: [PATCH] Fixes https://github.com/protocolbuffers/upb/issues/869 PiperOrigin-RevId: 483794621 --- python/dist/BUILD.bazel | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/python/dist/BUILD.bazel b/python/dist/BUILD.bazel index 171f869f65..a8fcbf689a 100644 --- a/python/dist/BUILD.bazel +++ b/python/dist/BUILD.bazel @@ -64,8 +64,8 @@ config_setting( config_setting( name = "linux_aarch64_local", constraint_values = [ - "@bazel_tools//platforms:linux", - "@bazel_tools//platforms:aarch64", + "@platforms//os:linux", + "@platforms//cpu:aarch64", ], ) @@ -85,8 +85,8 @@ config_setting( config_setting( name = "linux_x86_64_local", constraint_values = [ - "@bazel_tools//platforms:linux", - "@bazel_tools//platforms:x86_64", + "@platforms//os:linux", + "@platforms//cpu:x86_64", ], ) @@ -106,8 +106,8 @@ config_setting( config_setting( name = "osx_x86_64_local", constraint_values = [ - "@bazel_tools//platforms:osx", - "@bazel_tools//platforms:x86_64", + "@platforms//os:osx", + "@platforms//cpu:x86_64", ], ) @@ -127,8 +127,8 @@ config_setting( config_setting( name = "osx_aarch64_local", constraint_values = [ - "@bazel_tools//platforms:osx", - "@bazel_tools//platforms:aarch64", + "@platforms//os:osx", + "@platforms//cpu:aarch64", ], ) @@ -153,8 +153,8 @@ config_setting( config_setting( name = "windows_x86_32_local", constraint_values = [ - "@bazel_tools//platforms:windows", - "@bazel_tools//platforms:x86_32", + "@platforms//os:windows", + "@platforms//cpu:x86_32", ], ) @@ -174,8 +174,8 @@ config_setting( config_setting( name = "windows_x86_64_local", constraint_values = [ - "@bazel_tools//platforms:windows", - "@bazel_tools//platforms:x86_64", + "@platforms//os:windows", + "@platforms//cpu:x86_64", ], )