mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-08-26 22:23:12 -04:00
rust: trace: libc does not have syslog on windows
Reported-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
f26976b9d3
commit
a05b986d74
1 changed files with 1 additions and 0 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue