Skip to content

Commit 8fc2667

Browse files
committed
Avoid clippy warnings on non-unix
1 parent 1c5004d commit 8fc2667

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ struct InputAction {
326326
bin_name: String,
327327

328328
// How the script was called originally
329+
#[cfg(unix)]
329330
original_script_path: Option<String>,
330331
}
331332

@@ -534,6 +535,7 @@ fn decide_action_for(
534535
script: script_str,
535536
build_kind: args.build_kind,
536537
bin_name,
538+
#[cfg(unix)]
537539
original_script_path: args.script.clone(),
538540
})
539541
}

0 commit comments

Comments
 (0)