-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Labels
lifecycle/confirmedBug is verified or proposal seems reasonableBug is verified or proposal seems reasonable
Milestone
Description
when using the host_bindgen!
macro on a wit file that has multiple worlds in it, I end up not getting the expected bindings. It would be nice to specify the world that the host should care about instead of having to create a separate wit file for the host wit just the world the host should implement.
hyperlight_component_macro::host_bindgen!();
example wit:
interface event {
handle: func(x: u32) -> u32;
}
world handler {
export event;
}
world runner {
import event;
}
Currently I don't seem to be able to get bindings for the handler
world. I am seeing bindings generated for the Runner
Imports.
Metadata
Metadata
Assignees
Labels
lifecycle/confirmedBug is verified or proposal seems reasonableBug is verified or proposal seems reasonable
Type
Projects
Status
No status