mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Merge pull request #1652 from fitzgen/fix-some-warnings
Fix some warnings
This commit is contained in:
commit
15cc4fbb0b
@ -977,7 +977,9 @@ impl TryToTokens for ast::ImportFunction {
|
||||
}
|
||||
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
|
||||
unsafe fn #import_name(#(#abi_arguments),*) -> #abi_ret {
|
||||
drop((#(#abi_argument_names),*));
|
||||
#(
|
||||
drop(#abi_argument_names);
|
||||
)*
|
||||
panic!("cannot call wasm-bindgen imported functions on \
|
||||
non-wasm targets");
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
mod custom_section;
|
||||
mod getters_setters;
|
||||
mod opt_args_and_ret;
|
||||
mod simple_fn;
|
||||
mod simple_struct;
|
||||
pub mod custom_section;
|
||||
pub mod getters_setters;
|
||||
pub mod opt_args_and_ret;
|
||||
pub mod simple_fn;
|
||||
pub mod simple_struct;
|
||||
|
Loading…
x
Reference in New Issue
Block a user