Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
orf authored Apr 13, 2024
1 parent 7a4e62c commit 1bab64e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/image/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ impl From<&str> for Os {
"aix" => Os::AIX,
"android" => Os::Android,
"darwin" => Os::Darwin,
// std::env::consts::OS returns "macos" instead of darwin
"macos" => Os::Darwin,
"dragonfly" => Os::DragonFlyBSD,
"freebsd" => Os::FreeBSD,
"hurd" => Os::Hurd,
Expand Down

0 comments on commit 1bab64e

Please sign in to comment.