Skip to content

Commit

Permalink
Use old Windows path handling on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eholk committed Aug 3, 2022
1 parent e9c7544 commit 8de9adf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/cargo-test-support/src/paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ 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;

// Ensure tests still run in CI until we need to migrate.
if is_ci() {
return false;
}

use std::ffi::OsStr;
use std::os::windows::ffi::OsStrExt;
use std::ptr;
Expand Down

0 comments on commit 8de9adf

Please sign in to comment.