Skip to content

Commit 5e747c7

Browse files
committed
Remove a stray extern forgotten in #410
1 parent bfec9e6 commit 5e747c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/backend/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ impl ToTokens for ast::ImportFunction {
722722
#(#attrs)*
723723
#[allow(bad_style, unused_variables)]
724724
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
725-
#vis extern fn #rust_name(#me #(#arguments),*) #ret {
725+
#vis fn #rust_name(#me #(#arguments),*) #ret {
726726
panic!("cannot call wasm-bindgen imported functions on \
727727
non-wasm targets");
728728
}

0 commit comments

Comments
 (0)