myriad/languages/rust/run.sh
2019-07-09 05:19:41 -04:00

2 lines
95 B
Bash

printf %s "$1" > program.rs
rustc -C opt-level=0 --color never program.rs && ./program || true