Replace outdated select() on --cpu with platform API equivalent.

PiperOrigin-RevId: 733519356
This commit is contained in:
gVisor bot
2025-03-04 17:18:31 -08:00
parent 7d4b4bd634
commit cd3cec20c6
+9 -3
View File
@@ -26,17 +26,23 @@ bzl_library(
config_setting(
name = "amd64",
values = {"cpu": "k8"},
constraint_values = [
"@platforms//cpu:x86_64",
],
)
config_setting(
name = "arm64",
values = {"cpu": "aarch64"},
constraint_values = [
"@platforms//cpu:aarch64",
],
)
config_setting(
name = "riscv64",
values = {"cpu": "riscv64"},
constraint_values = [
"@platforms//cpu:riscv64",
],
)
genrule(