Selaa lähdekoodia

fix rust building

write the binaries where they belong and remove then after running.
Lucas Stadler 11 vuotta sitten
vanhempi
commit
ddb13262c0
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      go/linguaevalia/bin/run-rust

+ 3 - 1
go/linguaevalia/bin/run-rust

@ -1,3 +1,5 @@
1 1
#!/bin/sh
2 2
3
rustc $1 && ./`basename $1 .rs`
3
result=/tmp/`basename $1 .rs`
4
rustc $1 -o $result && $result
5
rm -f $result