myriad/languages/rust/run.sh

3 lines
95 B
Bash
Raw Normal View History

2019-07-09 11:19:41 +02:00
printf %s "$1" > program.rs
rustc -C opt-level=0 --color never program.rs && ./program || true