Move RUSTDOCFLAGS to config.sh
This commit is contained in:
parent
cc8744c004
commit
d983813e0f
2
cargo.sh
2
cargo.sh
@ -20,4 +20,4 @@ fi
|
||||
cmd=$1
|
||||
shift
|
||||
|
||||
RUSTDOCFLAGS=$RUSTFLAGS cargo +${TOOLCHAIN} $cmd --target $TARGET_TRIPLE $@
|
||||
cargo +${TOOLCHAIN} $cmd --target $TARGET_TRIPLE $@
|
||||
|
@ -31,6 +31,7 @@ if [[ "$HOST_TRIPLE" != "$TARGET_TRIPLE" ]]; then
|
||||
fi
|
||||
|
||||
export RUSTFLAGS=$linker' -Cpanic=abort -Cdebuginfo=2 -Zpanic-abort-tests -Zcodegen-backend='$(pwd)'/target/'$CHANNEL'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$(pwd)'/build_sysroot/sysroot'
|
||||
export RUSTDOCFLAGS=$RUSTFLAGS
|
||||
|
||||
# FIXME remove once the atomic shim is gone
|
||||
if [[ `uname` == 'Darwin' ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user