WasmKit icon indicating copy to clipboard operation
WasmKit copied to clipboard

Add `poll_oneoff` for POSIX hosts to `WASI.swift`

Open MaxDesiatov opened this issue 5 months ago • 2 comments

Testing Swift Concurrency for WebAssembly requires presence of poll_oneoff, which is absent in WasmKit. This change provides an implementation for POSIX hosts according to the ABI specified in WebAssembly System Interface standard https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#poll_oneoff

rdar://149935761

MaxDesiatov avatar Jun 18 '25 15:06 MaxDesiatov

Did we bump up the minimum supposed macOS version in the Swift OSS toolchain?

kateinoigakukun avatar Jun 25 '25 15:06 kateinoigakukun

Did we bump up the minimum supposed macOS version in the Swift OSS toolchain?

For macOS it's now the same as in SwiftPM https://github.com/swiftlang/swift-package-manager/blob/d8bc782bbb84012f3cdff97a4a2afed9029cda25/Package.swift#L133

MaxDesiatov avatar Jun 25 '25 15:06 MaxDesiatov