mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-06 11:02:18 +00:00
First added in #161 this never ended up panning out, so let's remove the experimental suport which isn't actually used by anything today and hold off on any other changes until an RFC happens.
15 lines
203 B
Rust
15 lines
203 B
Rust
#![feature(use_extern_macros)]
|
|
|
|
extern crate wasm_bindgen;
|
|
|
|
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen(module = "tests/wasm/duplicate_deps.js")]
|
|
extern {
|
|
fn foo();
|
|
}
|
|
|
|
pub fn test() {
|
|
foo();
|
|
}
|