Skip to content

Commit 8de9adf

Browse files
committed
Use old Windows path handling on CI
1 parent e9c7544 commit 8de9adf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crates/cargo-test-support/src/paths.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,13 @@ pub fn sysroot() -> String {
295295
/// determines whether we are running in a mode that allows Windows reserved names.
296296
#[cfg(windows)]
297297
pub fn windows_reserved_names_are_allowed() -> bool {
298+
use cargo_util::is_ci;
299+
300+
// Ensure tests still run in CI until we need to migrate.
301+
if is_ci() {
302+
return false;
303+
}
304+
298305
use std::ffi::OsStr;
299306
use std::os::windows::ffi::OsStrExt;
300307
use std::ptr;

0 commit comments

Comments
 (0)