mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
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:
commit
5946db3c14
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -457,7 +457,7 @@ version = "0.4.1"
|
||||
|
||||
[[package]]
|
||||
name = "cargo-test-support"
|
||||
version = "0.7.1"
|
||||
version = "0.7.2"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user