use hashmap_core instead of std::collections::HashMap

This commit is contained in:
Julius Rakow 2018-08-25 00:34:10 +02:00
parent ffe54f9674
commit f4173ad8ca
No known key found for this signature in database
GPG Key ID: 9AABD9B859435A93
5 changed files with 5 additions and 3 deletions

View File

@ -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"

View File

@ -1,4 +1,4 @@
use std::collections::HashMap;
use hashmap_core::HashMap;
use global::GlobalRef;
use memory::MemoryRef;
use func::FuncRef;

View File

@ -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;

View File

@ -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;

View File

@ -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,