Cosmopolitan is a project that allows one to compile C programs into portable binaries [highlight with link - https://justine.lol/ape.html] that can run on multiple OSes at the same time. Cosmonim shows how to properly set up the Nim compiler to use Cosmopolitan; provides a few example programs and stubs (empty headers) so that the C compiler would not complain about missing headers.
With Cosmonim you can make CLI applications with Nim and distribute them as a single binary for multiple platforms!
Name: Cosmonim - an example of using Cosmopolitan Libc [highlight with link - https://justine.lol/cosmopolitan/index.html] with Nim
Author: Danil Yarantsev (@Yardanico)
Posting:
Cosmopolitan is a project that allows one to compile C programs into portable binaries [highlight with link - https://justine.lol/ape.html] that can run on multiple OSes at the same time. Cosmonim shows how to properly set up the Nim compiler to use Cosmopolitan; provides a few example programs and stubs (empty headers) so that the C compiler would not complain about missing headers.
With Cosmonim you can make CLI applications with Nim and distribute them as a single binary for multiple platforms!