#compile to other platforms

1 messages · Page 1 of 1 (latest)

sturdy stream
#

Is it possible to use bun build —compile to compile an executable for a different platform? Say I want to share a tool I created in bun on windows, to someone using MacOS, without having to instruct that person on how to install and use Bun.

tired tartan
#

not yet
this is honestly very simple to do since --compile just takes the self binary and adds data to the end
it just has to download the other release binaries

sturdy stream
#

this would be really awesome

#

and once we're further down the line, perhaps add a deadstripper to reduce binary size