From 6e0f8b500771c8a8aa2d175316cee992b4e0746b Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sat, 5 Nov 2022 10:49:34 +0800 Subject: [PATCH] Fix no-std build. --- src/config/hashing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/hashing.rs b/src/config/hashing.rs index 58374d21..c11f7626 100644 --- a/src/config/hashing.rs +++ b/src/config/hashing.rs @@ -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}, };