From 9aa15bf600646e3248b0de914c8d93401fd05fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Luis=20Leal=20Cardoso=20Junior?= Date: Tue, 11 Dec 2018 19:31:12 -0200 Subject: [PATCH] Update wasm2js to rust 2018 --- examples/wasm2js/Cargo.toml | 1 + examples/wasm2js/src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/wasm2js/Cargo.toml b/examples/wasm2js/Cargo.toml index 133970f5..61683908 100644 --- a/examples/wasm2js/Cargo.toml +++ b/examples/wasm2js/Cargo.toml @@ -2,6 +2,7 @@ name = "wasm2js" version = "0.1.0" authors = ["The wasm-bindgen Developers"] +edition = "2018" [lib] crate-type = ["cdylib"] diff --git a/examples/wasm2js/src/lib.rs b/examples/wasm2js/src/lib.rs index 27073ddb..af514ce5 100644 --- a/examples/wasm2js/src/lib.rs +++ b/examples/wasm2js/src/lib.rs @@ -1,5 +1,3 @@ -extern crate wasm_bindgen; - use wasm_bindgen::prelude::*; // lifted from the `console_log` example