Skip to content

Commit

Permalink
fix: allow compilation not on macOS, Linux, or Windows (#3363)
Browse files Browse the repository at this point in the history
* Allow other OSes.

Allow erlang.rs work if compiled not on Mac, Linux or Windows.

* fix: version

---------

Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
  • Loading branch information
avysk and jdx authored Dec 5, 2024
1 parent 2d48109 commit 977957c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/plugins/core/erlang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,5 @@ const ARCH: &str = "unknown";
#[cfg(macos)]
const OS: &str = "apple-darwin";

#[cfg(linux)]
const OS: &str = "unknown";

#[cfg(windows)]
#[cfg(not(macos))]
const OS: &str = "unknown";

0 comments on commit 977957c

Please sign in to comment.