Hi everyone! I'm trying to use Roc for advent of code, and I thought I'd make a dedicated platform for it. To figure out how to do this, I was looking at this simple example platform: https://github.com/rtfeldman/roc/tree/trunk/examples/hello-world/platform
In the distribution, host.c has an associated host.o file, but that obviously isn't checked into git. Is this something I have to build myself or does the compiler handle this automatically?
Also: why does roc_panic
take an alignment parameter?
Host.o will be generated during compilation. For know host languages, like c, this should happen automatically.
I'd look at examples/cli
- hello world isn't much to build on! :big_smile:
Last updated: Jul 06 2025 at 12:14 UTC