net: fix build with only process (#1575)

This commit is contained in:
Carl Lerche
2019-09-19 12:38:15 -07:00
committed by GitHub
parent 815173f8e5
commit 8d09f61d33
4 changed files with 11 additions and 3 deletions
+6
View File
@@ -25,6 +25,12 @@ fn net_with_udp() {
use build_tests::tokio_net::uds;
}
#[test]
#[cfg(feature = "net-with-process")]
fn net_with_process() {
use build_tests::tokio_net::process;
}
#[test]
#[cfg(feature = "tokio-with-net")]
fn tokio_with_net() {