diff --git a/bazel/remote-execution/BUILD.bazel b/bazel/remote-execution/BUILD.bazel index 7664356c1..e22fca517 100644 --- a/bazel/remote-execution/BUILD.bazel +++ b/bazel/remote-execution/BUILD.bazel @@ -5,8 +5,8 @@ package(default_visibility = ["//visibility:public"]) platform( name = "platform", constraint_values = [ - "@bazel_tools//platforms:linux", - "@bazel_tools//platforms:x86_64", + "@platforms//os:linux", + "@platforms//cpu:x86_64", "@bazel_tools//tools/cpp:clang", ], exec_properties = { diff --git a/bazel/remote-execution/cpp/BUILD.bazel b/bazel/remote-execution/cpp/BUILD.bazel index a94de2526..43317c803 100644 --- a/bazel/remote-execution/cpp/BUILD.bazel +++ b/bazel/remote-execution/cpp/BUILD.bazel @@ -18,13 +18,13 @@ cc_toolchain_suite( toolchain( name = "cc_toolchain", exec_compatible_with = [ - "@bazel_tools//platforms:linux", - "@bazel_tools//platforms:x86_64", + "@platforms//os:linux", + "@platforms//cpu:x86_64", "@bazel_tools//tools/cpp:clang", ], target_compatible_with = [ - "@bazel_tools//platforms:linux", - "@bazel_tools//platforms:x86_64", + "@platforms//os:linux", + "@platforms//cpu:x86_64", ], toolchain = ":cc_compiler_k8", toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",