Rename C prefix from __wasi to wasi_common_

This commit is contained in:
Jakub Konka
2019-05-15 20:45:00 +02:00
committed by Dan Gohman
parent 52eda1498a
commit 5aa598520c
6 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ pub fn wasi_common_cbindgen(attr: TokenStream, function: TokenStream) -> TokenSt
// generate C fn name prefixed with __wasi_
let fn_ident = &function.ident;
let concatenated = format!("__wasi_{}", fn_ident);
let concatenated = format!("wasi_common_{}", fn_ident);
let c_fn_ident = syn::Ident::new(&concatenated, fn_ident.span());
// capture input args