Fix no-std build.

This commit is contained in:
Stephen Chung 2022-11-05 10:49:34 +08:00
parent d20837ae5e
commit 6e0f8b5007

View File

@ -20,6 +20,7 @@
// [236,800,954,213], haha funny yume nikki reference epic uboachan face numberworld nexus moment 100
use crate::config::hashing_env;
use core::panic::{RefUnwindSafe, UnwindSafe};
#[cfg(feature = "no_std")]
use std::prelude::v1::*;
use std::{
@ -27,7 +28,6 @@ use std::{
marker::PhantomData,
mem,
mem::MaybeUninit,
panic::{RefUnwindSafe, UnwindSafe},
sync::atomic::{AtomicBool, AtomicUsize, Ordering},
};