Skip to content

Commit 1b0b2d2

Browse files
committed
fix: resolve CI toolchain resolution and test configuration failures
- Fix TinyGo toolchain resolution by making it optional in wit_bindgen rule - Fix test suite configuration errors by commenting out missing test targets - Enables builds to proceed when TinyGo toolchain is not available for non-Go targets
1 parent 2efa2ef commit 1b0b2d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/go/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ test_suite(
122122
":test_debug_component_provides_info",
123123
":test_simple_test_component_provides_info",
124124

125-
# WIT bindgen tests
126-
":test_calculator_bindings_generation",
127-
":test_http_service_bindings_generation",
125+
# WIT bindgen tests (commented out until WIT-based examples are added)
126+
# ":test_calculator_bindings_generation",
127+
# ":test_http_service_bindings_generation",
128128

129129
# Validation tests
130130
":test_calculator_component_valid_wasm",

wit/wit_bindgen.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ wit_bindgen = rule(
391391
toolchains = [
392392
"@rules_wasm_component//toolchains:wasm_tools_toolchain_type",
393393
"@rules_wasm_component//toolchains:file_ops_toolchain_type",
394-
"@rules_wasm_component//toolchains:tinygo_toolchain_type",
394+
config_common.toolchain_type("@rules_wasm_component//toolchains:tinygo_toolchain_type", mandatory = False),
395395
],
396396
doc = """
397397
Generates language bindings from WIT files.

0 commit comments

Comments
 (0)