Skip to content

Commit

Permalink
Avoid clippy warnings on non-unix
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Sep 26, 2023
1 parent 1c5004d commit 8fc2667
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ struct InputAction {
bin_name: String,

// How the script was called originally
#[cfg(unix)]
original_script_path: Option<String>,
}

Expand Down Expand Up @@ -534,6 +535,7 @@ fn decide_action_for(
script: script_str,
build_kind: args.build_kind,
bin_name,
#[cfg(unix)]
original_script_path: args.script.clone(),
})
}
Expand Down

0 comments on commit 8fc2667

Please sign in to comment.