diff --git a/src/cmd/tests/standalone_daemon.rs b/src/cmd/tests/standalone_daemon.rs index 2f4d1cd068..5b7c7427d5 100644 --- a/src/cmd/tests/standalone_daemon.rs +++ b/src/cmd/tests/standalone_daemon.rs @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![cfg(unix)] + use std::net::TcpStream; use std::process::{Command, Stdio}; use std::time::{Duration, Instant};