You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix critical Rust WebAssembly component build failures affecting both
Linux and macOS CI environments by correcting WIT binding provider
forwarding in rust_wasm_component_bindgen.
**Root Cause:**
The _wasm_rust_library_bindgen transition rule introduced in recent
changes was not properly forwarding Rust library providers, causing
the generated {name}_bindings targets to be inaccessible to dependent
Rust components.
**Impact:**
- Rust compiler errors: "use of unresolved module or unlinked crate"
- Linux linker failures due to missing binding dependencies
- macOS undefined symbol errors for WIT-generated functions
- All rust_wasm_component_bindgen targets failing across CI
**Solution:**
Replace the problematic transition rule with a direct alias to the
working {name}_bindings_wasm_base target. This restores immediate
functionality while preserving the TODO to fix the underlying
provider forwarding logic.
**Verification:**
- //examples/cli_tool_example:file_processor_component builds successfully
- //test/integration:basic_component builds successfully
- Generated bindings properly accessible via {name}_bindings targets
This resolves the immediate CI blocking issues while maintaining the
improved WIT binding architecture introduced in recent refactoring.
0 commit comments