Update to Rust 2018. (#47)

* Run cargo fix --edition

* Add edition="2018" to Cargo.toml
This commit is contained in:
Lachlan Sneff 2018-12-10 18:31:08 -05:00 committed by GitHub
parent f9629018c7
commit b9b0a655bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
name = "wasmer"
version = "0.1.3"
authors = ["Syrus Akbary <me@syrusakbary.com>"]
# edition = "2018"
edition = "2018"
repository = "https://github.com/wasmerio/wasmer"
publish = true
description = "High-Performance WebAssembly JIT interpreter"

View File

@ -7,7 +7,7 @@ use std::io::Read;
use std::path::PathBuf;
use std::process::exit;
use apis::emscripten::{allocate_on_stack, allocate_cstr_on_stack};
use crate::apis::emscripten::{allocate_on_stack, allocate_cstr_on_stack};
use structopt::StructOpt;
use wasmer::*;