Begin work on no_std support.

This adds no_std support to a bunch of things, but more work is needed.
This commit is contained in:
Dan Gohman
2018-11-26 04:40:45 -08:00
parent 82c8ef95c4
commit e8201d0f93
10 changed files with 56 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ use cranelift_entity::EntityRef;
use cranelift_entity::PrimaryMap;
use cranelift_wasm::{GlobalIndex, MemoryIndex, TableIndex};
use memory::LinearMemory;
use std::vec::Vec;
use wasmtime_environ::{Compilation, DataInitializer, Module, TableElements};
/// An Instance of a WebAssemby module.