Remove usage of wasm_import_module feature

This is now stabilized! Also tweak usage of it to the stable version.
This commit is contained in:
Alex Crichton
2018-07-21 19:00:20 -07:00
parent 13269a9e2e
commit 906cd7adcc
48 changed files with 121 additions and 122 deletions

View File

@ -39,7 +39,7 @@ wasm-bindgen = "0.2"
Next up our actual code! We'll write this in `src/lib.rs`:
```rust,ignore
#![feature(use_extern_macros, wasm_import_module)]
#![feature(use_extern_macros)]
extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;

View File

@ -5,7 +5,7 @@ can also [explore this code online](https://webassembly.studio/?f=t61j18noqz):
```rust,ignore
// src/lib.rs
#![feature(use_extern_macros, wasm_import_module)]
#![feature(use_extern_macros)]
extern crate wasm_bindgen;