4 if [[ "$unamestr" == 'Linux' ]]; then
6 elif [[ "$unamestr" == 'Darwin' ]]; then
13 if [[ "$1" == "--release" ]]; then
21 export RUSTFLAGS='-Zalways-encode-mir -Cpanic=abort -Cdebuginfo=2 -Zcodegen-backend='$(pwd)'/target/'$channel'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$(pwd)'/build_sysroot/sysroot'
22 RUSTC="rustc $RUSTFLAGS -L crate=target/out --out-dir target/out"
23 export RUST_LOG=warn # display metadata load errors