1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-04-04 03:11:08 +00:00

Remove a stray extern forgotten in

This commit is contained in:
Alex Crichton 2018-07-09 08:13:03 -07:00
parent bfec9e6401
commit 5e747c721b

@ -722,7 +722,7 @@ impl ToTokens for ast::ImportFunction {
#(#attrs)* #(#attrs)*
#[allow(bad_style, unused_variables)] #[allow(bad_style, unused_variables)]
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))] #[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 \ panic!("cannot call wasm-bindgen imported functions on \
non-wasm targets"); non-wasm targets");
} }