From 44de80f89c63220531703c17d9ca9afb2274f9d1 Mon Sep 17 00:00:00 2001 From: Arlo Siemsen Date: Wed, 19 Feb 2025 10:48:36 -0600 Subject: [PATCH] fix: build warning in windows_reserved_names_are_allowed --- Cargo.lock | 2 +- crates/cargo-test-support/Cargo.toml | 2 +- crates/cargo-test-support/src/paths.rs | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 33c81be80..e38e3c85b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -457,7 +457,7 @@ version = "0.4.1" [[package]] name = "cargo-test-support" -version = "0.7.1" +version = "0.7.2" dependencies = [ "anstream", "anstyle", diff --git a/crates/cargo-test-support/Cargo.toml b/crates/cargo-test-support/Cargo.toml index 6e8f85e9b..e388ca96c 100644 --- a/crates/cargo-test-support/Cargo.toml +++ b/crates/cargo-test-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-test-support" -version = "0.7.1" +version = "0.7.2" edition.workspace = true rust-version = "1.84" # MSRV:1 license.workspace = true diff --git a/crates/cargo-test-support/src/paths.rs b/crates/cargo-test-support/src/paths.rs index 6fe6223af..242a39d48 100644 --- a/crates/cargo-test-support/src/paths.rs +++ b/crates/cargo-test-support/src/paths.rs @@ -371,8 +371,6 @@ pub fn sysroot() -> String { /// determines whether we are running in a mode that allows Windows reserved names. #[cfg(windows)] pub fn windows_reserved_names_are_allowed() -> bool { - use cargo_util::is_ci; - use std::ffi::OsStr; use std::os::windows::ffi::OsStrExt; use std::ptr;