Skip to content

WIP: Emscripten support#22

Draft
olilarkin wants to merge 1 commit into
AlexHarker:header-onlyfrom
olilarkin:emscripten-support
Draft

WIP: Emscripten support#22
olilarkin wants to merge 1 commit into
AlexHarker:header-onlyfrom
olilarkin:emscripten-support

Conversation

@olilarkin

Copy link
Copy Markdown

No description provided.

@AlexHarker

Copy link
Copy Markdown
Owner

This is most welcome! Before I merge can you clarify which headers this does/doesn't cover to your knowledge?

@olilarkin

Copy link
Copy Markdown
Author

This is just a draft for now, I can make it more exhaustive once I've played with it a bit more

@danferns

Copy link
Copy Markdown

I was trying to get the same working before I found this PR.

I just changed the include headers like this: danferns@ee0d57b

And specified __linux__ for the emscripten build:

    target_compile_definitions(wasmtarget PRIVATE __linux__)   

This allows the code to be compiled without taking advantage of SIMD capabilities. It is OK for my use case for now, but it'd be great to take advantage of full SIMD features down the line.

@olilarkin olilarkin force-pushed the emscripten-support branch from 1b0f350 to caa98c2 Compare June 24, 2026 11:55
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.

3 participants