From a90d9fafb6e4035fa7a28da6aee637359fab62f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Thu, 11 Jun 2026 17:19:43 +0200 Subject: [PATCH] xso: fix build on no_std --- xso/ChangeLog | 1 + xso/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/xso/ChangeLog b/xso/ChangeLog index 3ca914a1..de26a71c 100644 --- a/xso/ChangeLog +++ b/xso/ChangeLog @@ -6,6 +6,7 @@ Version NEXT: * Changes - Fix some Clippy warnings - Fix build with minidom and without std (!661) + - Fix no_std build * Added - xso::from_bytes_with_options and xso::from_reader_with_options to allow passing custom parser configuration. diff --git a/xso/src/lib.rs b/xso/src/lib.rs index a2eb3fdd..299c5873 100644 --- a/xso/src/lib.rs +++ b/xso/src/lib.rs @@ -702,6 +702,7 @@ fn read_start_event_io( )) } +#[cfg(feature = "std")] fn from_reader_inner( mut reader: rxml::XmlLangTracker>, ) -> io::Result {