more wasm

This commit is contained in:
Sidharth Kulkarni 2026-05-09 08:56:00 -07:00
parent 9d67af9901
commit 9ac87f93e9
Signed by: skulk
SSH key fingerprint: SHA256:Jby+S9d1WmwqnXIrngHgccYNHz+cYquxN1zm3ym3Kbg
5 changed files with 72 additions and 0 deletions

View file

@ -41,6 +41,14 @@ executable:
source-dirs:
- app
main: Main.hs
when:
- condition: arch(wasm32)
ghc-options:
-no-hs-main
-optl-mexec-model=reactor
"-optl-Wl,--export=hs_start"
cpp-options:
-DWASM
tests:
numberspec-test: