Refactor wasmtime-wasi crate

Changes:
* uses Rust edition 2018
* returns wasm32 errno directly rather than relying on
  wasi_common::{host, memory} modules
* wraps extraction of memory and WASI context in a macro
This commit is contained in:
Jakub Konka
2019-08-26 13:20:17 +02:00
committed by Dan Gohman
parent 6a09c5538f
commit 2941c2022f
4 changed files with 119 additions and 455 deletions

View File

@@ -7,6 +7,7 @@ categories = ["wasm"]
repository = "https://github.com/CraneStation/wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"
edition = "2018"
[dependencies]
wasmtime-runtime = { path = "../wasmtime-runtime" }