mirror of
https://github.com/apple/swift-system
synced 2026-11-23 04:34:26 +00:00
The gate os(WASI) && (swift(<6.1) || !_runtime) incorrectly falls through to pthread APIs on Swift 6.1+ non-threaded WASI, where pthread_* is not in scope. Guard solely on !_runtime. Fixes #370