Browse Source

rust: trace: libc does not have syslog on windows

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
pull/319/head
Paolo Bonzini 3 months ago
parent
commit
a05b986d74
  1. 1
      rust/trace/src/lib.rs

1
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};

Loading…
Cancel
Save