Fix runtime error.

This commit is contained in:
Gav
2018-02-08 11:10:34 +01:00
parent fde80b7b27
commit c1ca0cf3e7
18 changed files with 123 additions and 73 deletions
+2
View File
@@ -8,6 +8,8 @@ build = "build.rs"
rustc_version = "0.2"
[dependencies]
pwasm-alloc = { path = "../pwasm-alloc" }
pwasm-libc = { path = "../pwasm-libc" }
[features]
default = ["std"]
+5
View File
@@ -16,6 +16,10 @@
#[cfg(feature = "nightly")]
extern crate alloc;
#[cfg(feature = "nightly")]
extern crate pwasm_libc;
#[cfg(feature = "nightly")]
extern crate pwasm_alloc;
pub use alloc::vec;
pub use alloc::boxed;
@@ -26,3 +30,4 @@ pub use core::cell;
pub use core::ops;
pub use core::iter;
pub use core::ptr;
pub use core::intrinsics;