I recently came across buildroot and u-root while reading this blog post. What interested me about u-root, is it’s tailored specifically for building bootable busybox images around Go binaries. I was wondering if anyone has tried to do this for Crystal? It would be useful to have a turn-key solution for embedding Crystal programs into a minimal Linux system image.
Haven’t implemented anything but I figure it should be quite doable in Crystal.
I’ve had played with the idea of at least a minimal set of tools as helpers for stdlib tests to ensure identical behaviour across platforms (to replace platform-specific commands).