racket-static/README.md

698 B

racket-static

a base set of scripts that let you build fully self-contained static binaries for racket applications. this is better than raco exe/raco dist because that tooling can generate distribution folders that still depend on dynamic libraries the target system might not have, and it's also a whole folder instead of one easily distributable file

dependencies

  • systemd-nspawn (containers!)
  • sudo (for running the above)
  • rsync (copying files into container)
  • wget (downloading stuff)

hello world demo

first time you run make it'll take a while. be patient. having more cores helps

make
./run

references

https://docs.racket-lang.org/inside/embedding.html