From 5680817cacd55d5ca35a0211ab8be2d06d259172 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 4 Aug 2026 06:51:43 -0700 Subject: [PATCH] Revert "WASM build: disable legacy exception handling." This reverts commit 49853607e69cf367b6a12c481653d580a23b7475. The option `-wasm-use-legacy-eh=false` does not seem to be recognized in the version of the compiler we are now using. Reopens #11787. --- cabal.project | 1 - 1 file changed, 1 deletion(-) diff --git a/cabal.project b/cabal.project index ed06171f9..a5186f4ed 100644 --- a/cabal.project +++ b/cabal.project @@ -28,7 +28,6 @@ if arch(wasm32) package lua flags: +cross-compile ghc-options: -optc-mllvm - -optc-wasm-use-legacy-eh=false -optc-wasm-enable-sjlj -optc-D_WASI_EMULATED_PROCESS_CLOCKS -optc-D_WASI_EMULATED_SIGNAL