Convert emscripten imports to new types

This commit is contained in:
Brandon Fish
2018-12-31 14:55:14 -06:00
parent 5f101377ff
commit a5bafebc83
2 changed files with 1095 additions and 398 deletions

File diff suppressed because it is too large Load Diff

View File

@ -147,12 +147,10 @@ pub enum Import {
Global(Value), Global(Value),
} }
// TODO Remove again
pub struct Imports { pub struct Imports {
map: HashMap<String, HashMap<String, Import>>, map: HashMap<String, HashMap<String, Import>>,
} }
// TODO Remove again
impl Imports { impl Imports {
pub fn new() -> Self { pub fn new() -> Self {
Self { Self {