Open lemmih opened 4 years ago
Ah, it must be because I'm using double-conversion
which uses cbits. Guess you can close this issue.
Can I manually compile the C code with emscripten and make it available somehow?
compile the C code with emscripten and make it available somehow?
That code can only be used via foreign import javascript
, which means one needs to patch the ccall
logic for now and handle the emscripten packaging logic themselves. This is the best we can do for now, but we've about to start working on adding a C toolchain to handle C stuff, so the status quo will be improved; can't give an exact ETA yet though.
Alright. Can I detect when my package is being compiled by asterius? Something like if impl(asterius) {}
in the cabal file?
terrorjack/asterius:latest
has now been updated to terrorjack/asterius:200805
. The docker images are built with a different CI infra, and takes a lot of time to build.
My library now works with Asterius. :) But it requires a lot of memory to compile, a little more than 6GB. Do you have any tips or tricks for reducing the memory requirements?
Describe the bug Running this code fails with 'RuntimeError: unreachable':
Running the same code but with a circle radius of '0' works fine:
Oh, running with
--verbose-err
gives this (reformatted):To Reproduce Put the above code in
test.hs
and run it with:ahc-link --input-hs test.hs --run
. It depends on 'reanimate-svg' which is already included in the docker image.Expected behavior I expected it to print
<circle r="2"/>
.Environment