From 1435d3573a59d64e156b99f2a46317b32256ddf6 Mon Sep 17 00:00:00 2001 From: Miles Liu Date: Wed, 15 Mar 2023 18:08:32 +0800 Subject: [PATCH] dd: fix unused imports on FreeBSD --- tests/by-util/test_dd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_dd.rs b/tests/by-util/test_dd.rs index 5deeb12f0..71dd92da4 100644 --- a/tests/by-util/test_dd.rs +++ b/tests/by-util/test_dd.rs @@ -5,7 +5,7 @@ use crate::common::util::*; use std::fs::{File, OpenOptions}; use std::io::{BufReader, Read, Write}; use std::path::PathBuf; -#[cfg(all(not(windows), not(target_os = "macos")))] +#[cfg(all(unix, not(target_os = "macos"), not(target_os = "freebsd")))] use std::process::{Command, Stdio}; #[cfg(not(windows))] use std::thread::sleep;