This repository was archived by the owner on Oct 11, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 3636
3737       - name : build-frontend 
3838        run : | 
39-           nix develop --command bash -c "cd frontend && exec ./build.sh --low-memory-unused --converge -O4" 
39+           nix develop --command bash -c "cd frontend && exec ./build.sh --low-memory-unused --strip-dwarf -- converge -O4 -Oz " 
4040
4141   ghcup-build :
4242    name : ghcup-build 
9191       - name : build-frontend 
9292        run : | 
9393          cd frontend 
94-           ./build.sh --low-memory-unused --converge -O4 
94+           ./build.sh --low-memory-unused --strip-dwarf -- converge -O4 -Oz  
9595
9696   non-nix-build :
9797    name : non-nix-build 
@@ -133,7 +133,7 @@ jobs:
133133       - name : build-frontend 
134134        run : | 
135135          cd frontend 
136-           ./build.sh --low-memory-unused --converge -O4 
136+           ./build.sh --low-memory-unused --strip-dwarf -- converge -O4 -Oz  
137137
138138       - name : upload-pages-artifact 
139139        uses : actions/upload-pages-artifact@v3 
Original file line number Diff line number Diff line change 11packages : . hs2048
22
3- index-state : 2025-02-11T14 :26 :56Z 
3+ index-state : 2025-04-03T07 :26 :54Z 
44
55allow-newer :
66  all :base
@@ -10,16 +10,11 @@ if arch(wasm32)
1010  -- ghc-wasm-meta, this is superseded by the global cabal.config. 
1111  shared : True
1212
13-   -- https://github.com/haskellari/time-compat/issues/37 
14-   -- Older versions of time don't build on WASM. 
15-   constraints : time installed
16-   allow-newer : time
17- 
1813  -- https://github.com/haskellari/splitmix/pull/73 
1914  source-repository-package
2015    type : git
2116    location : https://github.com/amesgen/splitmix
22-     tag : 5f5b766d97dc735ac228215d240a3bb90bc2ff75 
17+     tag : cea9e31bdd849eb0c17611bb99e33d590e126164 
2318
2419package aeson
2520  flags : -ordered-keymap
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ hs_wasm_path=$(find .. -name "*.wasm")
3737if  $dev_mode ;  then 
3838    cp " $hs_wasm_path "   dist/bin.wasm
3939else 
40-     env -i GHCRTS=-H64m  " $( type -P wizer ) "  --allow-wasi --wasm-bulk-memory  true  --inherit-env  true  --init-func _initialize -o  dist/bin.wasm  " $hs_wasm_path " 
40+     cp  " $hs_wasm_path "   dist/bin.wasm
4141    wasm-opt ${1+" $@ "  }  dist/bin.wasm -o dist/bin.wasm
4242    wasm-tools strip -o dist/bin.wasm dist/bin.wasm
4343fi 
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ executable ghc-wasm-miso-examples
1212      , hs2048
1313      , jsaddle
1414      , jsaddle-wasm
15-       , miso
15+       , miso  >=   1.8.7.0 
1616      , mtl
1717      , random
1818      , text
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments