Portable mruby binaries with Cosmopolitan
16-Jan-2026 497
How to avoid complex cross-compilation and provide just one binary for all platforms. One of my main interests with mruby is its ability to create standalone executables. As explored in this post, this is absolutely possible and works well. However, there is a classic issue of most standalone binaries: they can only be run on the same, or very similar, system as the one they were built on.
For example, if I take an executable from my mruby Hello World project, built on amd64 Linux, it won’t work on Silicon Mac:.
Portable mruby binaries with Cosmopolitan #ruby #rubydeveloper #rubyonrails #Portable #mruby #binaries #Cosmopolitan https://www.rubyonrails.ba/link/portable-mruby-binaries-with-cosmopolitan