From 2c0b1691ae2d9c1c37aaa68e22d34dd51f8840bb Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 11 Jun 2025 16:45:06 +0200 Subject: [PATCH] -lexceptions.js #6794 --- nix/build-all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index 5f2f2f0a79..c1087647d4 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -479,7 +479,7 @@ if platform.system() == "Darwin": ADDITIONAL_ARGS = [f"-mmacosx-version-min={TOOLSET}"] + ADDITIONAL_ARGS if "wasm" in flags: - ADDITIONAL_ARGS.extend(("-sWASM_BIGINT", "-fwasm-exceptions")) + ADDITIONAL_ARGS.extend(("-sWASM_BIGINT", "-fwasm-exceptions", "-lexceptions.js")) # If the linker supports GC sections, set it up to reduce binary file size # -fPIC is required for the shared libraries to work