Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by ComputerGuru

1 year ago

Writing scripts in rust is as easy as copying and pasting this shebang: https://neosmart.net/blog/self-compiling-rust-code/

But that doesn’t make it embeddable, of course.

2 comments

ComputerGuru

Reply

yencabulator  1 year ago

Nightly doesn't need 3rd party tools at all: https://doc.rust-lang.org/cargo/reference/unstable.html#scri...

  • ComputerGuru  1 year ago

    Technically my solution didn’t either. Does the nightly solution cache the output?

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities