]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
rust: trace: libc does not have syslog on windows
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Jan 2026 17:18:57 +0000 (18:18 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jan 2026 07:57:51 +0000 (08:57 +0100)
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/trace/src/lib.rs

index c2abe430a52b6a9ee02d0c0f2aeaa2a53ca12fe2..859d8d1b94fd95f39876cd8c221e242f2be9973a 100644 (file)
@@ -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};