Skip to content

Commit

Permalink
Export unix module on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ulan committed Oct 25, 2023
1 parent aec4b25 commit 64cd5a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/wasmtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,7 @@ pub use anyhow::{Error, Result};
pub mod component;

cfg_if::cfg_if! {
if #[cfg(all(target_os = "macos", not(feature = "posix-signals-on-macos")))] {
// no extensions for macOS at this time
} else if #[cfg(unix)] {
if #[cfg(unix)] {
pub mod unix;
} else if #[cfg(windows)] {
pub mod windows;
Expand Down

0 comments on commit 64cd5a5

Please sign in to comment.