mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
184 B
Bash
Executable File
15 lines
184 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -z $CHANNEL ]; then
|
|
export CHANNEL='debug'
|
|
fi
|
|
|
|
pushd $(dirname "$0") >/dev/null
|
|
source config.sh
|
|
popd >/dev/null
|
|
|
|
cmd=$1
|
|
shift
|
|
|
|
cargo $cmd --target $TARGET_TRIPLE $@
|