Skip to content

Commit

Permalink
Fix CI error by only run under std
Browse files Browse the repository at this point in the history
  • Loading branch information
JustForMaven committed Dec 10, 2023
1 parent 8cc6e1b commit dc17ae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/enc/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ where
}

#[cfg(test)]
#[cfg(feature = "std")]
mod tests {
use crate::enc::impls::encode_utf8;
use crate::features::IoWriter;
Expand Down

0 comments on commit dc17ae6

Please sign in to comment.