can't put tracing behind a feature without an extra crate :(
This commit is contained in:
@@ -15,7 +15,9 @@ mod borrow;
|
||||
mod error;
|
||||
mod guest_type;
|
||||
mod region;
|
||||
pub mod tracing;
|
||||
pub mod tracing {
|
||||
pub use tracing::*;
|
||||
}
|
||||
|
||||
pub use borrow::BorrowChecker;
|
||||
use borrow::BorrowHandle;
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
#[cfg(feature = "tracing")]
|
||||
pub use tracing_crate::*;
|
||||
|
||||
#[cfg(not(feature = "tracing"))]
|
||||
mod noop_tracing {
|
||||
// TODO fill in rest of the noop interface
|
||||
// idk how to do this because macro_rules! / #[macro_export] doesn't follow the usual module
|
||||
// visibility rules.
|
||||
}
|
||||
#[cfg(not(feature = "tracing"))]
|
||||
pub use noop_tracing::*;
|
||||
Reference in New Issue
Block a user