3 Commits

Author SHA1 Message Date
jj
e7a83d693e emscripten: cut the patch comments to the header prose alone
Drop the default.nix comment and the C comment; shorten the patch
header.

Assisted-by: Claude Code (Claude Fable 5)
2026-08-25 22:57:32 +10:00
jj
a6aec26355 emscripten: trim the compat-patch comments to the essentials
Also regenerate the hunk against the 6.0.8 sources so it applies at the
recorded offsets.

Assisted-by: Claude Code (Claude Fable 5)
2026-08-25 22:52:59 +10:00
jj
e114a2cd60 emscripten: fix -fwasm-exceptions link failure with release LLVM
Nixpkgs builds emscripten with the generic llvmPackages release LLVM,
not the llvm-project main-branch commit that emsdk pins. Release LLVM
(<= 22.x) generates calls to _Unwind_CallPersonality in catch handlers.
Emscripten's bundled libunwind no longer defines _Unwind_CallPersonality:
llvm-project PR #209282 moved the helper into libc++abi under the name
__gxx_wasm_personality_v0. Restore the old entry point as a forwarder to
__gxx_wasm_personality_v0, so that -fwasm-exceptions links.

Assisted-by: Claude Code (Claude Fable 5)
2026-08-25 22:12:08 +10:00