diff --git a/third_party/rbe_configs/config/BUILD b/third_party/rbe_configs/config/BUILD index e55e51829b..27ede0e398 100644 --- a/third_party/rbe_configs/config/BUILD +++ b/third_party/rbe_configs/config/BUILD @@ -21,13 +21,13 @@ package(default_visibility = ["//visibility:public"]) 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 = "//third_party/rbe_configs/cc:cc-compiler-k8", toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", @@ -37,8 +37,8 @@ platform( name = "platform", parents = ["@local_config_platform//:host"], 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 = { @@ -52,8 +52,8 @@ platform( name = "platform-asan", parents = ["@local_config_platform//:host"], 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 = {