janet-lang / janet

A dynamic language and bytecode vm
https://janet-lang.org
MIT License
3.38k stars 217 forks source link

Build janet with Cosmopolitan Libc #1440

Closed ahgamut closed 2 months ago

ahgamut commented 2 months ago

Janet was one of the first languages built with Cosmopolitan Libc (cc @jart), and I thought it'd be pretty cool if an APE binary of Janet was available (#1322).

jart commented 2 months ago

Cosmo author here. I would love the opportunity to support the Janet project. Thanks for considering this change!

ahgamut commented 2 months ago

I think this PR can be simplified a bit, let me try to keep it as minimal as possible. Changing to a draft.

ahgamut commented 2 months ago

ok, this PR now, creates a folder called .github/cosmo, containing

now it should be built automatically with every release, you can see the built version here: https://github.com/ahgamut/janet/releases/tag/untagged-05dbf1c0050860223f69

bakpakin commented 2 months ago

Thanks for not only automating this, but adding it to the release process