Fix wasi-common-cbindgen missing no_mangle attr
This commit is contained in:
@@ -141,6 +141,7 @@ pub fn wasi_common_cbindgen_old(attr: TokenStream, function: TokenStream) -> Tok
|
|||||||
let result = quote! {
|
let result = quote! {
|
||||||
#function
|
#function
|
||||||
|
|
||||||
|
#[no_mangle]
|
||||||
#vis unsafe extern "C" fn #c_fn_ident(
|
#vis unsafe extern "C" fn #c_fn_ident(
|
||||||
#(
|
#(
|
||||||
#arg_ident: #arg_type,
|
#arg_ident: #arg_type,
|
||||||
|
|||||||
Reference in New Issue
Block a user