Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update emscripten #7473

Merged
merged 6 commits into from
Dec 7, 2024
Merged

Update emscripten #7473

merged 6 commits into from
Dec 7, 2024

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Dec 6, 2024

This updates the version of emscripten used in CI. There have been a bunch of changes, but fortunately only a few of those changes were breaking this project:

  • using threads no longer keeps node alive until terminateAllThreads is called, which is good but requires us to tweak our wrapper for calling things off the main thread to set a useless timeout in order to prevent node from exiting early (see keeping node alive while workers are working emscripten-core/emscripten#23092)
  • the string conversion helpers are now stricter about input types, which exposed a bug where we were passing the wrong type for functions with async wrappers
  • the DEMANGLE_SUPPORT option is removed (because traces are now always human readable)

Hopefully this makes it buildable in code spaces again.

While I was here I also updated Prettier and TypeScript (the latter of which required a small tweak to the BitVector types).

@NikolajBjorner NikolajBjorner merged commit e5f8327 into Z3Prover:master Dec 7, 2024
8 checks passed
@bakkot bakkot deleted the update-emscripten branch December 7, 2024 04:57
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