Generate C bindings for all hostcalls

This commit is contained in:
Jakub Konka
2019-05-14 14:33:46 +02:00
committed by Dan Gohman
parent 9ad16cc702
commit 006198eb92
2 changed files with 44 additions and 0 deletions

View File

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