From: Paolo Bonzini Date: Tue, 13 Jan 2026 17:18:57 +0000 (+0100) Subject: rust: trace: libc does not have syslog on windows X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05b986d74d04ac47f5e4ef9cfa8a3ff160d5a82;p=thirdparty%2Fqemu.git rust: trace: libc does not have syslog on windows Reported-by: Thomas Huth Signed-off-by: Paolo Bonzini --- diff --git a/rust/trace/src/lib.rs b/rust/trace/src/lib.rs index c2abe430a5..859d8d1b94 100644 --- a/rust/trace/src/lib.rs +++ b/rust/trace/src/lib.rs @@ -3,6 +3,7 @@ //! This crate provides macros that aid in using QEMU's tracepoint //! functionality. +#[cfg(not(windows))] #[doc(hidden)] /// Re-exported item to avoid adding libc as a dependency everywhere. pub use libc::{syslog, LOG_INFO};