fix: build warning in windows_reserved_names_are_allowed (#15206)

A recent change removed use of the `is_ci` function, but didn't remove
the `use` statement.
This commit is contained in:
Ed Page 2025-02-19 17:32:21 +00:00 committed by GitHub
commit 5946db3c14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 4 deletions

2
Cargo.lock generated
View File

@ -457,7 +457,7 @@ version = "0.4.1"
[[package]]
name = "cargo-test-support"
version = "0.7.1"
version = "0.7.2"
dependencies = [
"anstream",
"anstyle",

View File

@ -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

View File

@ -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;