Merge pull request #326 from VictorKoenders/master

Fixed an issue when compiling no_std and no_optimize on a target with no alloc::sync
This commit is contained in:
Stephen Chung 2021-01-07 22:53:07 +08:00 committed by GitHub
commit b799627b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,9 @@ mod inner {
#[cfg(not(target_arch = "wasm32"))] #[cfg(not(target_arch = "wasm32"))]
pub use core::{i128, u128}; pub use core::{i128, u128};
pub use alloc::{borrow, boxed, format, rc, string, sync, vec}; #[cfg(feature = "sync")]
pub use alloc::sync;
pub use alloc::{borrow, boxed, format, rc, string, vec};
pub use core_error as error; pub use core_error as error;