From cdbf070eedfc619c69d3400ad0db75f3983526b5 Mon Sep 17 00:00:00 2001 From: Ulrich Hornung Date: Tue, 9 Jan 2024 18:52:12 +0100 Subject: [PATCH] windows compatibility --- tests/by-util/test_env.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_env.rs b/tests/by-util/test_env.rs index 76621165398..490e00fd30c 100644 --- a/tests/by-util/test_env.rs +++ b/tests/by-util/test_env.rs @@ -4,7 +4,9 @@ // file that was distributed with this source code. // spell-checker:ignore (words) bamf chdir rlimit prlimit COMSPEC -use crate::common::util::{expected_result, TestScenario}; +#[cfg(any(target_os = "linux", target_os = "android"))] +use crate::common::util::expected_result; +use crate::common::util::TestScenario; use std::env; use std::path::Path; use tempfile::tempdir;