compiler: wasm backend JSFFI sync exports
This commit implements the synchronous flavour of the wasm backend JSFFI exports: - `foreign export javascript "foo sync"` exports a top-level Haskell binding as a synchronous JS function - `foreign import javascript "wrapper sync"` dynamically exports a Haskell function closure as a synchronous JS function - `foreign import javascript unsafe` is now re-entrant by lowering to a safe ccall - Also fix the issue that JSFFI dynamic exports didn't really work in TH & ghci (#25473)
Loading
-
mentioned in commit e2a0c49b
-
mentioned in commit 1ab92441
-
mentioned in commit f9bb0c3f
-
mentioned in commit debaac7c
-
mentioned in commit 59fd1f9b
-
mentioned in commit 6191f166
-
mentioned in commit e537cff7
-
mentioned in commit 668478d8
-
mentioned in commit 12c78ef6
-
mentioned in commit 115ddc39
-
mentioned in commit 91f88bfe
Please register or sign in to comment