Skip to content

Conversation

@kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Dec 13, 2025

Depends on #5293

After #5293, we no longer rely on SWIFT_CORELIBS_FOUNDATION_HAS_THREADS definitions

`SWIFT_CORELIBS_FOUNDATION_HAS_THREADS` is not defined for all
WASI targets now but we do have pthread support for wasip1-threads
target. `_runtime(_multithreaded)` check is more appropriate here to
detect multithreaded runtime support. We can remove
`SWIFT_CORELIBS_FOUNDATION_HAS_THREADS` definition later.
Recent wasi-libc versions include pthreads support for wasip1-threads
target and a stub implementation for wasip1 target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant