mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-25 09:02:46 +03:00
Remove a stray extern
forgotten in #410
This commit is contained in:
parent
bfec9e6401
commit
5e747c721b
@ -722,7 +722,7 @@ impl ToTokens for ast::ImportFunction {
|
||||
#(#attrs)*
|
||||
#[allow(bad_style, unused_variables)]
|
||||
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
|
||||
#vis extern fn #rust_name(#me #(#arguments),*) #ret {
|
||||
#vis fn #rust_name(#me #(#arguments),*) #ret {
|
||||
panic!("cannot call wasm-bindgen imported functions on \
|
||||
non-wasm targets");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user