From 45da5f3510a61599c89dc458ecc859f13a81e255 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 7 Jan 2020 07:53:40 -0800 Subject: rt: cleanup runtime::context (#2063) Tweak context to remove more fns and usage of `Option`. Remove `ThreadContext` struct as it is reduced to just `Handle`. Avoid passing around individual driver handles and instead limit to the `runtime::Handle` struct. --- tokio/src/macros/cfg.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'tokio/src/macros') diff --git a/tokio/src/macros/cfg.rs b/tokio/src/macros/cfg.rs index cc93cc8a..1f168255 100644 --- a/tokio/src/macros/cfg.rs +++ b/tokio/src/macros/cfg.rs @@ -4,7 +4,6 @@ macro_rules! cfg_resource_drivers { ($($item:item)*) => { $( #[cfg(any(feature = "io-driver", feature = "time"))] - #[cfg(not(loom))] $item )* } -- cgit v1.2.3