Fix fuzz and wasi-c builds (#447)

* Fix the wasmtime-wasi-c crate build and upgrade it to Rust 2018.

* Fix the fuzz build.
This commit is contained in:
Dan Gohman
2019-10-23 14:05:23 -07:00
committed by GitHub
parent 876d5e1075
commit a7fa6bdb31
7 changed files with 12 additions and 19 deletions

View File

@@ -1,8 +1,8 @@
use crate::host;
use crate::wasm32;
use core::convert::TryFrom;
use host;
use std::mem::{align_of, size_of, zeroed};
use std::slice;
use wasm32;
use wasmtime_runtime::{Export, VMContext};
/// Translate a wasm pointer into a native pointer.