# Wasm32-emscripten builds fail linking because of pthread dependency

**URL:** <https://ziggit.dev/t/wasm32-emscripten-builds-fail-linking-because-of-pthread-dependency/12879>\
**Category:** Help\
**Tags:** standard-library\
**Created:** [November 6, 2025, 4:09pm UTC](https://ziggit.dev/t/wasm32-emscripten-builds-fail-linking-because-of-pthread-dependency/12879 "2025-11-06T16:09:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Sze](https://ziggit.dev/user_avatar/ziggit.dev/sze/32/496_2.png) [@Sze](https://ziggit.dev/u/Sze)\
**Post date:** [November 7, 2025, 4:41pm UTC](https://ziggit.dev/t/wasm32-emscripten-builds-fail-linking-because-of-pthread-dependency/12879/7 "2025-11-07T16:41:56Z")

</div>

I agree with the issue, however regarding:

> for instance any WASM blob that’s hosted on Github pages cannot use threading

I think you could use what @tobyjaffey is using here [Framebuffer and Audio WASM demos](https://ziggit.dev/t/framebuffer-and-audio-wasm-demos/7146), [coi-serviceworker](https://github.com/ringtailsoftware/zig-wasm-audio-framebuffer#cors-cross-origin-resource-sharing):

> However, this is worked around by using [coi-serviceworker](https://github.com/gzuidhof/coi-serviceworker) which reloads the page on startup.

But it seems you can’t avoid the reload on github pages.

---

_[View the full topic](https://ziggit.dev/t/wasm32-emscripten-builds-fail-linking-because-of-pthread-dependency/12879)._
