From dc17ae602daaf3913612e0d28e4866bf0ba6767a Mon Sep 17 00:00:00 2001 From: cxworks Date: Sun, 10 Dec 2023 15:18:13 -0500 Subject: [PATCH] Fix CI error by only run under std --- src/enc/impls.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/enc/impls.rs b/src/enc/impls.rs index 81fa66ae..c8b1a46c 100644 --- a/src/enc/impls.rs +++ b/src/enc/impls.rs @@ -478,6 +478,7 @@ where } #[cfg(test)] +#[cfg(feature = "std")] mod tests { use crate::enc::impls::encode_utf8; use crate::features::IoWriter;