tweag/asterius

ahc-dist: Out of memory

TerrorJack opened this issue · 0 comments

Describe the bug
ahc-dist: Out of memory when attempting to generate wasm/js from an ahc-cabal executable output.

To Reproduce
ahc-cabal v2-install --installdir . hello && ahc-dist --input-exe hello --run

Expected behavior
ahc-dist should generate wasm/js files from hello, run it with node and print "hello world".

Environment

  • OS name + version: Docker dev image
  • Version of the code: Starting from d36986d

Additional context
I've pinned down the exact commit that introduced the bug, but I have little clue what's gone wrong here :/