Skip to content

Commit

Permalink
fix wasm compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
superboum committed Feb 11, 2024
1 parent ee8146c commit e0e9841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kannader-config-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ fn make_host_server(impl_name: Ident, c: Communicator) -> TokenStream {
#fn_body
};

l.define(#link_name, #ffi_name, wasmtime::Func::wrap(&mut *ctx, the_fn))?;
l.func_wrap(#link_name, #ffi_name, the_fn)?;
}}
});
let res = quote! {
Expand Down

0 comments on commit e0e9841

Please sign in to comment.