From 2d8193c69e03f4d67006ea1b533ad9522ac8f863 Mon Sep 17 00:00:00 2001 From: Ulan Degenbaev Date: Wed, 25 Oct 2023 17:49:08 +0200 Subject: [PATCH] Remove the leftover usage of `posix-signals-on-macos` (#7360) 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 1abfd28c0e04..a2824b8d5434 100644 --- a/crates/wasmtime/src/lib.rs +++ b/crates/wasmtime/src/lib.rs @@ -448,9 +448,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;