We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 604c036 + 6cb659d commit 15cc4fbCopy full SHA for 15cc4fb
crates/backend/src/codegen.rs
@@ -977,7 +977,9 @@ impl TryToTokens for ast::ImportFunction {
977
}
978
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
979
unsafe fn #import_name(#(#abi_arguments),*) -> #abi_ret {
980
- drop((#(#abi_argument_names),*));
+ #(
981
+ drop(#abi_argument_names);
982
+ )*
983
panic!("cannot call wasm-bindgen imported functions on \
984
non-wasm targets");
985
crates/typescript-tests/src/lib.rs
@@ -1,5 +1,5 @@
1
-mod custom_section;
2
-mod getters_setters;
3
-mod opt_args_and_ret;
4
-mod simple_fn;
5
-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;
0 commit comments