I'm not a fan of using the disk in a case like this
I think we have a few options:
.roc_cache
(either global or local)/tmp
But yeah, run probably shouldn't make a visible artifact if it still does.
Yeah, Richard just proposed to change this to "This builds the foo.roc application into a binary in a tempdir (or in memory on Linux) and runs it."
yeah I think we should:
on macOS we probably have to keep the file descriptor to the executable open and then unlink it before running it, because if we're doing execvp
to have the running program take over the roc
process, then we won't have a chance to clean it up afterwards ourselves
Last updated: Jul 06 2025 at 12:14 UTC