more emscripten stubs and urandom hack (#199)

This commit is contained in:
Mackenzie Clark
2019-02-22 10:42:38 -08:00
committed by GitHub
parent e9d72740c0
commit a6d72bdec9
9 changed files with 599 additions and 17 deletions

View File

@ -7,6 +7,7 @@ use std::os::raw::c_char;
use crate::env::call_malloc;
use crate::utils::{copy_cstr_into_wasm, read_string_from_wasm};
use std::ffi::CStr;
use wasmer_runtime_core::vm::Ctx;
extern "C" {