I'd like to use the JSON package available here. In my platform code I imported it inside the packages
declaration and import it inside an interface
later to use it. However, issuing roc run
hands indefinitely with my CPU ramping up in load without any output.
I've uploaded my code to a GitHub repository: https://github.com/mainrs/arachnids
https://github.com/mainrs/arachnids/blob/65931e48c5532d2d8fef6795a3d2688bd581d89f/api/Http.roc#L36-L38
The json
is imported at the top of the file.
Does it work if you do roc run myfile.roc --linker=legacy
?
this is a known bug - @Folkert de Vries and I are planning to look into it on Monday!
Anton said:
Does it work if you do
roc run myfile.roc --linker=legacy
?
This doesn't change anything. It still runs on full load indefinitely without any output.
Richard Feldman said:
this is a known bug - Folkert de Vries and I are planning to look into it on Monday!
Is there an issue I can follow or something to get notified on progress regarding this?
yep! https://github.com/roc-lang/roc/issues/5598
Last updated: Jul 06 2025 at 12:14 UTC