summaryrefslogtreecommitdiffstats
path: root/tokio/src/macros/cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/macros/cfg.rs')
-rw-r--r--tokio/src/macros/cfg.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tokio/src/macros/cfg.rs b/tokio/src/macros/cfg.rs
index edf681a4..15216560 100644
--- a/tokio/src/macros/cfg.rs
+++ b/tokio/src/macros/cfg.rs
@@ -79,6 +79,19 @@ macro_rules! cfg_io_driver {
}
}
+macro_rules! cfg_io_driver_impl {
+ ( $( $item:item )* ) => {
+ $(
+ #[cfg(any(
+ feature = "net",
+ feature = "process",
+ all(unix, feature = "signal"),
+ ))]
+ $item
+ )*
+ }
+}
+
macro_rules! cfg_not_io_driver {
($($item:item)*) => {
$(