@@ -22,7 +22,7 @@ toolchain(
2222)
2323
2424toolchain (
25- name = "py_cc_toolchain_for_host_x86_64 " ,
25+ name = "py_cc_toolchain_host_x86_64 " ,
2626 exec_compatible_with = [
2727 "@platforms//cpu:x86_64" ,
2828 "@platforms//os:linux" ,
@@ -31,13 +31,27 @@ toolchain(
3131 "@platforms//cpu:x86_64" ,
3232 "@platforms//os:linux" ,
3333 ],
34- toolchain = ":py_cc_toolchain_for_host_x86_64_data" ,
34+ toolchain = ":py_cc_toolchain_host_data" ,
35+ toolchain_type = "@rules_python//python/cc:toolchain_type" ,
36+ )
37+
38+ toolchain (
39+ name = "py_cc_toolchain_host_aarch64" ,
40+ exec_compatible_with = [
41+ "@platforms//cpu:aarch64" ,
42+ "@platforms//os:linux" ,
43+ ],
44+ target_compatible_with = [
45+ "@platforms//cpu:aarch64" ,
46+ "@platforms//os:linux" ,
47+ ],
48+ toolchain = ":py_cc_toolchain_host_data" ,
3549 toolchain_type = "@rules_python//python/cc:toolchain_type" ,
3650)
3751
3852py_cc_toolchain (
39- name = "py_cc_toolchain_for_host_x86_64_data " ,
40- headers = "@py_cc_toolchain_for_host_x86_64 //:headers" ,
53+ name = "py_cc_toolchain_host_data " ,
54+ headers = "@py_cc_toolchain_host //:headers" ,
4155 libs = ":empty" ,
4256 python_version = "3.12" ,
4357)
0 commit comments