Skip to content

Commit 18e46e8

Browse files
authored
tests: cfg-ignore compat tests if there is no compat feature (#2353)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
1 parent f86bb46 commit 18e46e8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

futures/tests/auto_traits.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(feature = "compat")]
2+
13
//! Assert Send/Sync/Unpin for all public types.
24
35
use futures::{

futures/tests/compat.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(feature = "compat")]
2+
13
use tokio::timer::Delay;
24
use tokio::runtime::Runtime;
35
use std::time::Instant;

0 commit comments

Comments
 (0)