From 77bf76897c276f110d3f98ff4df48fe4103e1dff Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Sun, 15 Dec 2019 20:26:05 +0100 Subject: [PATCH] Fix wasi-common-cbindgen missing no_mangle attr --- crates/wasi-common/wasi-common-cbindgen/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/wasi-common/wasi-common-cbindgen/src/lib.rs b/crates/wasi-common/wasi-common-cbindgen/src/lib.rs index 66530b99a8..2d43c1ec15 100644 --- a/crates/wasi-common/wasi-common-cbindgen/src/lib.rs +++ b/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,