Skip to content

Commit

Permalink
fix: emscripten is a unix variant (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Sep 14, 2023
1 parent 8c78b91 commit 5816e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rattler_conda_types/src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl Platform {

/// Returns true if the platform is a unix based platform.
pub const fn is_unix(self) -> bool {
self.is_linux() || self.is_osx()
self.is_linux() || self.is_osx() || matches!(self, Platform::EmscriptenWasm32)
}

/// Returns true if the platform is a linux based platform.
Expand Down

0 comments on commit 5816e09

Please sign in to comment.