From 324dfc1a91900e2e6417182db345784092b57ecc Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Thu, 7 Sep 2023 13:10:43 +0800 Subject: [PATCH] Fix no-std build. --- src/types/custom_types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/custom_types.rs b/src/types/custom_types.rs index 2834f4764..403d70879 100644 --- a/src/types/custom_types.rs +++ b/src/types/custom_types.rs @@ -1,6 +1,8 @@ //! Collection of custom types. use crate::Identifier; +#[cfg(feature = "no_std")] +use std::prelude::v1::*; use std::{any::type_name, collections::BTreeMap}; /// _(internals)_ Information for a custom type.