Skip to content

Commit

Permalink
Fix non-existant linux cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Nov 10, 2024
1 parent 7756b23 commit e419369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn test(sh: &Shell) -> Result<()> {
// running this, we've already compiled a bunch of stuff. Originally we tried to `rm -rf
// .target`, but we also observed weird SIGKILL: 9 errors on mac. Perhaps its our self-removal?
// Let's scope it only to linux (windows won't work, bc one can not remove oneself there).
if cfg!(linux) {
if cfg!(unix) {
sh.remove_path("./target")?;
}

Expand Down

0 comments on commit e419369

Please sign in to comment.