Fix wasi-common-cbindgen missing no_mangle attr

This commit is contained in:
Jakub Konka
2019-12-15 20:26:05 +01:00
committed by Jakub Konka
parent 1d0511aa21
commit 77bf76897c

View File

@@ -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,