From 454cf40e25270d95f0bb2df7c2ee1239d5f529bd Mon Sep 17 00:00:00 2001 From: Ulan Degenbaev Date: Wed, 25 Oct 2023 14:58:51 +0000 Subject: [PATCH] Remove the leftover usage of `posix-signals-on-macos` This follows up #6807 and removes the last remaining reference to the removed `posix-signals-on-macos` feature flag. Note that `lib.rs` now imports `mod unix` on MacOS. This change is similar to the change in `traphandlers.rs` in #6807. It is needed for hosts that use signals instead of Mach ports on MacOs. --- crates/wasmtime/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/wasmtime/src/lib.rs b/crates/wasmtime/src/lib.rs index 466ed26147cc..712d627a5561 100644 --- a/crates/wasmtime/src/lib.rs +++ b/crates/wasmtime/src/lib.rs @@ -476,9 +476,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;