From 74757fdd65ef6f8950e94bd2e7a8a7ed46530e46 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Sat, 2 Nov 2019 14:33:54 +0100 Subject: [PATCH] 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. --- Cargo.toml | 10 +++++----- src/lib.rs | 7 ------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 79354c3615..970cd8f58f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/lib.rs b/src/lib.rs index 07b97e68e2..245966028d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,10 +40,3 @@ pub use sys::preopen_dir; pub type Error = error::Error; pub(crate) type Result = std::result::Result; - -// 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::*; -}