Don't overwrite RUSTFLAGS for cargo.sh
This commit is contained in:
parent
777c9dabc0
commit
66e4f1bb7a
@ -42,7 +42,7 @@ fi
|
||||
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)
|
||||
|
||||
export RUSTC=$dir"/cg_clif"
|
||||
export RUSTFLAGS=$linker
|
||||
export RUSTFLAGS=$linker" "$RUSTFLAGS
|
||||
export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abort-tests '\
|
||||
'-Zcodegen-backend='$dir'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$dir'/sysroot'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user