rust file compilation (#698)

This commit is contained in:
Bryan Jenks 2020-06-08 02:51:13 -07:00 committed by GitHub
parent 0646d9bb81
commit b1d1446325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,7 @@ case "$ext" in
h) sudo make install ;; h) sudo make install ;;
c) cc "$file" -o "$base" && "$base" ;; c) cc "$file" -o "$base" && "$base" ;;
py) python "$file" ;; py) python "$file" ;;
rs) cargo build ;;
m) octave "$file" ;; m) octave "$file" ;;
scad) openscad -o "$base".stl "$file" ;; scad) openscad -o "$base".stl "$file" ;;
go) go run "$file" ;; go) go run "$file" ;;