mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +00:00
Update wasm-in-wasm example to the 2018 edition
This commit is contained in:
parent
00d4c6b5a5
commit
a8fb4c3bf8
@ -2,6 +2,7 @@
|
|||||||
name = "wasm-in-wasm"
|
name = "wasm-in-wasm"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["The wasm-bindgen Developers"]
|
authors = ["The wasm-bindgen Developers"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
extern crate js_sys;
|
|
||||||
extern crate wasm_bindgen;
|
|
||||||
|
|
||||||
use js_sys::{Function, Object, Reflect, Uint8Array, WebAssembly};
|
use js_sys::{Function, Object, Reflect, Uint8Array, WebAssembly};
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
use wasm_bindgen::JsCast;
|
use wasm_bindgen::JsCast;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user