Skip to content

Enable icechunk compilation for wasm32-unknown-emscripten#2065

Draft
mpiannucci wants to merge 1 commit intomainfrom
feat/enable-wasm-emscripten
Draft

Enable icechunk compilation for wasm32-unknown-emscripten#2065
mpiannucci wants to merge 1 commit intomainfrom
feat/enable-wasm-emscripten

Conversation

@mpiannucci
Copy link
Copy Markdown
Collaborator

Patch backon to allow TokioSleeper on emscripten targets instead of gloo-timers (which requires browser JS APIs unavailable in emscripten). The root issue is that emscripten defaults to panic=unwind, causing wasm-bindgen's MaybeUnwindSafe trait to require UnwindSafe bounds that gloo-timers closures don't satisfy.

Patch backon to allow TokioSleeper on emscripten targets instead of
gloo-timers (which requires browser JS APIs unavailable in emscripten).
The root issue is that emscripten defaults to panic=unwind, causing
wasm-bindgen's MaybeUnwindSafe trait to require UnwindSafe bounds that
gloo-timers closures don't satisfy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dcherian
Copy link
Copy Markdown
Collaborator

Is there a different library we could use instead? I just picked that one because it looked good. Clearly we have different requirements now.

@mpiannucci
Copy link
Copy Markdown
Collaborator Author

@dcherian Yeah we can revisit this when i rev on the cache interface

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