Skip to main content

add_to_linker

Function add_to_linker 

Source
pub fn add_to_linker(linker: &mut Linker<HostState>) -> Result<()>
Expand description

Register both act:credentials instances in the linker.

Both, not one: store uses types from types, so the elaborated world imports both instances, and a guest importing act:credentials/store fails instantiation on an unregistered act:credentials/types@0.1.0. The interface carries no functions, but the instance must still exist.