use hashmap_core instead of std::collections::HashMap
This commit is contained in:
parent
ffe54f9674
commit
f4173ad8ca
|
@ -18,6 +18,7 @@ std = ["parity-wasm/std"]
|
|||
[dependencies]
|
||||
parity-wasm = { version = "0.31", default-features = false }
|
||||
byteorder = "1.0"
|
||||
hashmap_core = "0.1.9"
|
||||
memory_units = "0.3.0"
|
||||
nan-preserving-float = "0.1.0"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use std::collections::HashMap;
|
||||
use hashmap_core::HashMap;
|
||||
use global::GlobalRef;
|
||||
use memory::MemoryRef;
|
||||
use func::FuncRef;
|
||||
|
|
|
@ -104,6 +104,7 @@ extern crate assert_matches;
|
|||
|
||||
extern crate parity_wasm;
|
||||
extern crate byteorder;
|
||||
extern crate hashmap_core;
|
||||
extern crate memory_units as memory_units_crate;
|
||||
|
||||
pub extern crate nan_preserving_float;
|
||||
|
|
|
@ -3,7 +3,7 @@ use Trap;
|
|||
use std::rc::Rc;
|
||||
use std::cell::RefCell;
|
||||
use std::fmt;
|
||||
use std::collections::HashMap;
|
||||
use hashmap_core::HashMap;
|
||||
use parity_wasm::elements::{External, InitExpr, Internal, Instruction, ResizableLimits, Type};
|
||||
use {Module, Error, Signature, MemoryInstance, RuntimeValue, TableInstance};
|
||||
use imports::ImportResolver;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::error;
|
||||
use std::fmt;
|
||||
use std::collections::HashSet;
|
||||
use hashmap_core::HashSet;
|
||||
use parity_wasm::elements::{
|
||||
BlockType, External, GlobalEntry, GlobalType, Internal, MemoryType, Module, Instruction,
|
||||
ResizableLimits, TableType, ValueType, InitExpr, Type,
|
||||
|
|
Loading…
Reference in New Issue