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: Use wit-bindgen-rt crate instead of wit-bindgen for runtime support
The wit-bindgen crate (v0.47.0) is for procedural macros (generate!()).
For CLI-generated bindings, we need wit-bindgen-rt (v0.39.0) which provides:
- export! macro for component exports
- wit_bindgen::rt module with proper allocator integration
Changes:
- tools/checksum_updater/Cargo.toml: Added wit-bindgen-rt = "0.39.0"
- rust/rust_wasm_component_bindgen.bzl: Changed wrapper to use wit_bindgen_rt
- rust/rust_wasm_component_bindgen.bzl: Changed deps to @crates//:wit-bindgen-rt
- MODULE.bazel: Updated comment to reflect wit-bindgen-rt usage
- docs/embedded_runtime_fix.md: Updated documentation
Fixes error: could not find `export` in bindings crate
0 commit comments