Don't overwrite RUSTFLAGS for cargo.sh
This commit is contained in:
parent
777c9dabc0
commit
66e4f1bb7a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue