river/.cargo/bin/rustc
2021-04-06 20:41:50 +08:00

7 lines
144 B
Bash
Executable File

#!/bin/bash
if [[ " ${@} " =~ " --target " ]]; then
$(which rustc) ${@:1}
else
$(which rustc) ${@:1} --target "x86_64-unknown-linux-gnu"
fi