Open Z-snails opened 2 years ago
I just ran into this when attempting to compile idris2 for javascript. In my case it was prim__os
that is missing, and I don't see it on the list above. Would you be able to add it?
Ignore me. I see that prim__os
isn't supported on JavaScript, and so idris2
can't be compiled for it.
System.Clock
added by #2829
popen
/pclose
added by #2866
I added free
in #2606
I'm implementing some here https://github.com/idris-lang/Idris2/pull/2981
Feel free to copy paste over
If possible, please include complete self contained source files (for example by uploading to https://gist.github.com) that exhibit the issue in addition to quoting from them here. The smaller the example the better!
Steps to Reproduce
Try to compile various
System.*
functions with node codegenExpected Behavior
Works
Observed Behavior
Fails with
Here's every FFI function in base that's missing a node version if someone wants to implement these: