Skip to content

Commit

Permalink
Remove the leftover usage of posix-signals-on-macos (#7360) (#7362)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ulan committed Oct 25, 2023
1 parent 402d3da commit ed73433
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 @@ -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;
Expand Down

0 comments on commit ed73433

Please sign in to comment.