diff options
Diffstat (limited to 'tokio/tests/rt_common.rs')
-rw-r--r-- | tokio/tests/rt_common.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tokio/tests/rt_common.rs b/tokio/tests/rt_common.rs index b360158d..fe0cf84a 100644 --- a/tokio/tests/rt_common.rs +++ b/tokio/tests/rt_common.rs @@ -1,6 +1,7 @@ -// Tests to run on both current-thread & therad-pool runtime variants. - #![warn(rust_2018_idioms)] +#![cfg(feature = "full")] + +// Tests to run on both current-thread & therad-pool runtime variants. macro_rules! rt_test { ($($t:tt)*) => { |