Skip to content

Commit f13b412

Browse files
committed
futures: tests/try_join.rs: Don't break w/o features
Only really appropriate action here is to gate the whole file with `#![cfg()]` Tests now build and pass with all valid feature combinations See previous commits for details and rationale
1 parent 037ec14 commit f13b412

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

futures/tests/try_join.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(feature = "executor")] // executor::
2+
#![cfg(feature = "async-await")] // try_join!
13
#![deny(unreachable_code)]
24

35
use futures::{try_join, executor::block_on};

0 commit comments

Comments
 (0)