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: make bitflags macro publicly accessible from generated bindings
Changed pub(crate) use bitflags; to pub use bitflags::bitflags; in the
embedded wit_bindgen runtime. This allows external crates that depend on
the generated bindings to access the bitflags macro when they use WASI
filesystem interfaces.
The pub(crate) visibility restricted access to within the bindings crate
itself, preventing downstream users from accessing the macro through the
expected path: crate::wit_bindgen::rt::bitflags::bitflags!
Tested with:
- //examples/basic:hello_component_bindings_host (native-guest mode)
- //tools/checksum_updater_wasm:checksum_updater_wasm_component (WASI filesystem)
0 commit comments