Skip to content

Commit

Permalink
Only pull is-wsl on unix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Apr 16, 2023
1 parent 5f1f80f commit 1912915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ name = "open"
[target.'cfg(all(unix, not(macos)))'.dependencies]
pathdiff = "0.2.0"

[dependencies]
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd", target_os = "illumos", target_os = "solaris" ))'.dependencies]
is-wsl = "0.4.0"

0 comments on commit 1912915

Please sign in to comment.