Skip to content

Commit d1e70b9

Browse files
committed
fix: remove exec platform constraints from C++ toolchains for CI compatibility
The exec_compatible_with constraints were limiting toolchains to macOS/aarch64 which caused failures on Linux CI. Removing these constraints allows the toolchains to work on any host platform while still targeting WASM correctly.
1 parent 3a8c021 commit d1e70b9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

toolchains/BUILD.bazel

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ cc_toolchain(
4646
# Toolchain for WASM32 WASIP1
4747
toolchain(
4848
name = "wasm32_wasip1_cc_toolchain",
49-
exec_compatible_with = [
50-
"@platforms//os:macos",
51-
"@platforms//cpu:aarch64",
52-
],
5349
target_compatible_with = [
5450
"@platforms//cpu:wasm32",
5551
"@platforms//os:wasi",
@@ -61,10 +57,6 @@ toolchain(
6157
# Toolchain for WASM32 WASIP2
6258
toolchain(
6359
name = "wasm32_wasip2_cc_toolchain",
64-
exec_compatible_with = [
65-
"@platforms//os:macos",
66-
"@platforms//cpu:aarch64",
67-
],
6860
target_compatible_with = [
6961
"@platforms//cpu:wasm32",
7062
"@platforms//os:wasi",
@@ -76,10 +68,6 @@ toolchain(
7668
# Toolchain for WASM32 unknown
7769
toolchain(
7870
name = "wasm32_unknown_cc_toolchain",
79-
exec_compatible_with = [
80-
"@platforms//os:macos",
81-
"@platforms//cpu:aarch64",
82-
],
8371
target_compatible_with = [
8472
"@platforms//cpu:wasm32",
8573
"@platforms//os:none",

0 commit comments

Comments
 (0)