mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
net: fix build with only process (#1575)
This commit is contained in:
@@ -25,7 +25,7 @@ macro_rules! trace {
|
||||
|
||||
#[cfg(not(feature = "tracing"))]
|
||||
macro_rules! trace {
|
||||
($($arg:tt)+) => {};
|
||||
($($arg:tt)+) => {{}};
|
||||
}
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
@@ -37,7 +37,7 @@ macro_rules! debug {
|
||||
|
||||
#[cfg(not(feature = "tracing"))]
|
||||
macro_rules! debug {
|
||||
($($arg:tt)+) => {};
|
||||
($($arg:tt)+) => {{}};
|
||||
}
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
@@ -49,7 +49,7 @@ macro_rules! error {
|
||||
|
||||
#[cfg(not(feature = "tracing"))]
|
||||
macro_rules! error {
|
||||
($($arg:tt)+) => {};
|
||||
($($arg:tt)+) => {{}};
|
||||
}
|
||||
|
||||
#[cfg(feature = "tracing")]
|
||||
|
||||
Reference in New Issue
Block a user