Skip to content

[STABLE] library: wasm32-wasip1-threads has functional pthreads#153634

Draft
jieyouxu wants to merge 1 commit intorust-lang:stablefrom
jieyouxu:wasm32-wasip1-threads
Draft

[STABLE] library: wasm32-wasip1-threads has functional pthreads#153634
jieyouxu wants to merge 1 commit intorust-lang:stablefrom
jieyouxu:wasm32-wasip1-threads

Conversation

@jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Mar 10, 2026

Minimal backport-suitable fix to avoid returning UNSUPPORTED_PLATFORM for wasm32-wasip1-threads which has a working pthreads implementation via emnapi.

The stable regression was reported in #153475.

This PR should be stable-backported-only (if accepted by T-libs) to mitigate #153475 on stable with a stable point release.

r? ghost

Minimal backport-suitable fix to avoid returning `UNSUPPORTED_PLATFORM`
for `wasm32-wasip1-threads` which has a working pthreads implementation
via `emnapi`.

The stable regression was reported in
<rust-lang#153475>.
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 10, 2026
@jieyouxu
Copy link
Member Author

@alexcrichton is this what you had in mind in #153475 (comment)?

@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants