Skip to content

Fix pthreads in -sSTRICT mode - #22436

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:pthreads_strict
Aug 22, 2024
Merged

sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:pthreads_strict

Conversation

@sbc100

@sbc100 sbc100 commented Aug 22, 2024

Copy link
Copy Markdown
Collaborator

STRICT has the effect of making INCOMING_MODULE_JS_API empty by default, but the pthread runtime relies on overriding instantiateWasm.

See #21844

@sbc100
sbc100 requested a review from kripken August 22, 2024 20:05
Comment thread tools/link.py Resolved

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm otherwise

`STRICT` has the effect of making `INCOMING_MODULE_JS_API` empty
by default, but the pthread runtime relies on overriding
`instantiateWasm`.

See emscripten-core#21844
@sbc100
sbc100 enabled auto-merge (squash) August 22, 2024 21:31
@sbc100
sbc100 disabled auto-merge August 22, 2024 22:24
@sbc100
sbc100 merged commit 37d578f into emscripten-core:main Aug 22, 2024
@sbc100
sbc100 deleted the pthreads_strict branch August 22, 2024 22:24
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.

2 participants