make import function safe

This commit is contained in:
vms 2021-04-13 14:02:20 +03:00
parent 339dd4d58a
commit 9a05fd250c

View File

@ -120,7 +120,7 @@ fn generate_wrapper_functions(extern_item: &fce_ast_types::AstExternModItem) ->
#[cfg(target_arch = "wasm32")]
#[doc(hidden)]
#[allow(clippy::all)]
#visibility unsafe fn #func_name(#(#arg_names: #arg_types), *) #return_type {
#visibility fn #func_name(#(#arg_names: #arg_types), *) #return_type {
// make complex arguments manually droppable
#arg_transforms