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: resolve critical WAC composition and Rust binding generation issues
Resolve multiple critical issues preventing WebAssembly Component (WAC)
composition and improve the reliability of Rust component bindings:
**WAC Composition Resolution (Fixes GitHub #20):**
- Fix WAC composition failures where service-a was missing store function export
- Improve export symbol generation in rust_wasm_component_bindgen.bzl
- Add proper filtering for native-guest vs guest binding modes
- Ensure all interface functions are correctly exported in compiled components
- Verify multi-service integration tests now build successfully
**Rust Binding Generation Improvements:**
- Refactor rust_wasm_component_bindgen.bzl with enhanced symbol handling
- Fix provider forwarding for rust_library transitions with correct rust_common API
- Improve wrapper generation for both native-guest and guest modes
- Add better error handling and symbol conflict resolution
- Ensure proper crate_info and dep_info provider propagation
**Component Export Reliability:**
- Enhance export macro generation to prevent symbol conflicts
- Improve filtering logic for conflicting export statements
- Fix native-guest mode export pub use statement conflicts
- Ensure consistent export behavior across different binding modes
**Documentation and Schema Updates:**
- Update rule schemas to reflect binding generation improvements
- Enhance multi-file packaging documentation with verified examples
- Add comprehensive decision matrices for packaging approaches
**Microservices Architecture Enhancements:**
- Improve mobile app component with proper interface implementations
- Enhance web frontend with comprehensive UI, state, analytics, and PWA support
- Fix binding imports and export macros across microservices components
These changes restore WAC composition functionality and significantly improve
the reliability of Rust WebAssembly component builds, enabling complex
multi-component systems to build and function correctly.
Impact: Resolves build failures affecting WAC composition, multi-service
integration tests, and Rust component binding generation reliability.
0 commit comments