Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Dec 14, 2023
1 parent 7229e33 commit df592b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ const CARGO_PID_FILE_NAME: &str = "cargo-pid";
/// Whether we are a cargo sub-process.
static CARGO_PID: Lazy<Option<Pid>> = Lazy::new(cargo_pid);

#[cfg(target_family == "unix")]
#[cfg(target_family = "unix")]
const CARGO_NAME: &str = "cargo";

#[cfg(target_family == "unix")]
#[cfg(target_family = "unix")]
const NEXTEST_NAME: &str = "cargo-nextest";

#[cfg(target_family == "windows")]
#[cfg(target_family = "windows")]
const CARGO_NAME: &str = "cargo.exe";

#[cfg(target_family == "windows")]
#[cfg(target_family = "windows")]
const NEXTEST_NAME: &str = "cargo-nextest.exe";

/// Returns the process ID of our parent Cargo process.
Expand Down

0 comments on commit df592b1

Please sign in to comment.