Sync wasmtime and remove wasm32 deprecated module (#165)

Since `wasmtime` now uses `wasi` and `wasi32` modules, we can now
safely remove the `wasm32` module. This commit also updates `wasmtime`
to the latest upstream.
This commit is contained in:
Jakub Konka
2019-11-02 14:33:54 +01:00
committed by Dan Gohman
parent 95578a42ce
commit 74757fdd65
2 changed files with 5 additions and 12 deletions

View File

@@ -40,11 +40,11 @@ cpu-time = "1.0"
[dev-dependencies]
wasmtime-runtime = { git = "https://github.com/cranestation/wasmtime", rev = "875eea6" }
wasmtime-environ = { git = "https://github.com/cranestation/wasmtime", rev = "875eea6" }
wasmtime-jit = { git = "https://github.com/cranestation/wasmtime", rev = "875eea6" }
wasmtime-wasi = { git = "https://github.com/cranestation/wasmtime", rev = "875eea6" }
wasmtime-api = { git = "https://github.com/cranestation/wasmtime", rev = "875eea6" }
wasmtime-runtime = { git = "https://github.com/cranestation/wasmtime", rev = "b42e550" }
wasmtime-environ = { git = "https://github.com/cranestation/wasmtime", rev = "b42e550" }
wasmtime-jit = { git = "https://github.com/cranestation/wasmtime", rev = "b42e550" }
wasmtime-wasi = { git = "https://github.com/cranestation/wasmtime", rev = "b42e550" }
wasmtime-api = { git = "https://github.com/cranestation/wasmtime", rev = "b42e550" }
cranelift-codegen = "0.46.1"
target-lexicon = "0.8.1"
pretty_env_logger = "0.3.0"

View File

@@ -40,10 +40,3 @@ pub use sys::preopen_dir;
pub type Error = error::Error;
pub(crate) type Result<T> = std::result::Result<T, Error>;
// We can remove this once Wasmtime is updated.
#[deprecated = "wasm32 is deprecated; use wasi or wasi32 instead"]
pub mod wasm32 {
pub use crate::wasi::*;
pub use crate::wasi32::*;
}