1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-23 21:50:51 +00:00
Alex Crichton d4297ad2d3 Remove use_extern_macros features
This has now been stabilized!
2018-08-19 14:33:01 -07:00

16 lines
203 B
Rust

extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;
#[wasm_bindgen(x)]
pub fn foo() {}
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(y)]
fn bar();
#[wasm_bindgen { }]
fn bar();
}