Fixes necessary for having no_std imports work with edition2018

This commit is contained in:
Alexander Theißen
2020-10-22 12:26:24 +02:00
parent a2653cff5a
commit aebfc0fbd7
15 changed files with 54 additions and 42 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
#[cfg(features = "std")]
use std::collections::{HashMap as Map};
use crate::std::collections::{HashMap as Map};
#[cfg(not(features = "std"))]
use std::collections::{BTreeMap as Map};
use std::vec::Vec;
use crate::std::collections::{BTreeMap as Map};
use crate::std::vec::Vec;
use parity_wasm::elements::{self, FunctionType, Internal};
use parity_wasm::builder;