Fix compile on latest nightly (#489)

This commit is contained in:
Alex Crichton
2018-07-17 09:11:30 -05:00
committed by GitHub
parent 1baf8f3ead
commit ed05c7b945
77 changed files with 372 additions and 374 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(proc_macro, wasm_custom_section, wasm_import_module)]
#![feature(use_extern_macros, wasm_custom_section, wasm_import_module)]
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(proc_macro, wasm_custom_section, wasm_import_module)]
#![feature(use_extern_macros, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;