rust: trace: libc does not have syslog on windows
PATCH 1/1 rust: trace: libc does not have syslog on windows
Reported-by Thomas Huth <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
---
This is not enough for the msys2-64bit job to pass, but it reaches linking.
rust/trace/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+)
rust/trace/src/lib.rs +2 -0
@@ -3,9 +3,11 @@//! 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 }; +#[doc(hidden)] /// Re-exported item to avoid adding probe as a dependency everywhere. pub use probe::probe;
Signature · 1 line
2.52.0
Hi
Quoted 3 lines · Paolo Bonzini
Reported-by Thomas Huth <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>
Reviewed-by Marc-André Lureau <[email protected]>
Quoted 3 lines
---
This is not enough for the msys2-64bit job to pass, but it reaches linking.
same here :)
Quoted 24 lines
rust/trace/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+)rust/trace/src/lib.rs +2
-1@@ -3,9 +3,11 @@//! 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 }; +#[doc(hidden)] /// Re-exported item to avoid adding probe as a dependency everywhere. pub use probe::probe; --2.52.0
Signature · 1 line
Marc-André Lureau