3 if [ -z $CHANNEL ]; then
4 export CHANNEL='release'
7 pushd $(dirname "$0") >/dev/null
8 source scripts/config.sh
10 # read nightly compiler from rust-toolchain file
11 TOOLCHAIN=$(cat rust-toolchain)
18 if [[ "$cmd" = "jit" ]]; then
19 cargo +${TOOLCHAIN} rustc $@ -- --jit
21 cargo +${TOOLCHAIN} $cmd $@