Browse Source

Fix wasi-common-cbindgen missing no_mangle attr

pull/721/head
Jakub Konka 5 years ago
committed by Jakub Konka
parent
commit
77bf76897c
  1. 1
      crates/wasi-common/wasi-common-cbindgen/src/lib.rs

1
crates/wasi-common/wasi-common-cbindgen/src/lib.rs

@ -141,6 +141,7 @@ pub fn wasi_common_cbindgen_old(attr: TokenStream, function: TokenStream) -> Tok
let result = quote! {
#function
#[no_mangle]
#vis unsafe extern "C" fn #c_fn_ident(
#(
#arg_ident: #arg_type,

Loading…
Cancel
Save