Skip to content

Disallow -sWASM_WORKERS with sanitizers#24171

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:wasm_workers_sanitize
Apr 23, 2025
Merged

Disallow -sWASM_WORKERS with sanitizers#24171
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:wasm_workers_sanitize

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 22, 2025

Back in #21701 I moved the creation of wasmOffsetConvert and wasmOffset into runtime_pthread.js but I didn't update libwasm_worker.js which still uses the old name wasmOffsetData in its initial post message.

When trying to update this just now I noticed that the offset converter (and santiizers in general) don't seem to work on WASM_WORKERS so this change simply disables them.

The passing of wasmOffsetData and wasmSourceMapData was added back in #20188 but it doesn't looks like support for santizers was supposed to be part of that.

@sbc100 sbc100 requested a review from kripken April 22, 2025 23:05
@sbc100 sbc100 enabled auto-merge (squash) April 22, 2025 23:28
Back in emscripten-core#21701 I broke move the creation of wasmOffsetConvert and
wasmOffset into runtime_pthread.js but I didn't update
libwasm_worker.js which still uses the old name `wasmOffsetData` in its
initial post message.

When trying to update this just now I noticed that the offset converter
(and santiizers in general) don't seem to work on WASM_WORKERS so this
change simply disables them.
@sbc100 sbc100 force-pushed the wasm_workers_sanitize branch from 8f48741 to 02e8bf5 Compare April 22, 2025 23:56
@sbc100 sbc100 merged commit 35d6102 into emscripten-core:main Apr 23, 2025
28 checks passed
@sbc100 sbc100 deleted the wasm_workers_sanitize branch April 23, 2025 16:51
sbc100 added a commit to sbc100/emscripten that referenced this pull request Apr 29, 2025
This configuration was recently marked as unsupported (emscripten-core#24171)
sbc100 added a commit that referenced this pull request Apr 29, 2025
This configuration was recently marked as unsupported (#24171)
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