Skip to content

Commit ed73433

Browse files
authored
Remove the leftover usage of posix-signals-on-macos (#7360) (#7362)
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.
1 parent 402d3da commit ed73433

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/wasmtime/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,7 @@ pub use anyhow::{Error, Result};
448448
pub mod component;
449449

450450
cfg_if::cfg_if! {
451-
if #[cfg(all(target_os = "macos", not(feature = "posix-signals-on-macos")))] {
452-
// no extensions for macOS at this time
453-
} else if #[cfg(unix)] {
451+
if #[cfg(unix)] {
454452
pub mod unix;
455453
} else if #[cfg(windows)] {
456454
pub mod windows;

0 commit comments

Comments
 (0)