Skip to content

Instantly share code, notes, and snippets.

@kstep
Created June 29, 2014 15:49
Show Gist options
  • Save kstep/0a301b8daea4c635f7f7 to your computer and use it in GitHub Desktop.
Save kstep/0a301b8daea4c635f7f7 to your computer and use it in GitHub Desktop.
#!/bin/sh
outfile="/tmp/runst-$$"
rustc -o "$outfile" "$1" && "$outfile"
rm -f "$outfile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment