We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6daf7 commit 3eb649cCopy full SHA for 3eb649c
scripts/config.sh
@@ -44,7 +44,11 @@ fi
44
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)
45
46
export RUSTC=$dir"/bin/cg_clif"
47
-export RUSTFLAGS=$linker" "$RUSTFLAGS
+
48
+if [ ! -z $linker ]; then
49
+ export RUSTFLAGS=$linker" "$RUSTFLAGS
50
+fi
51
52
export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abort-tests '\
53
'-Zcodegen-backend='$dir'/lib/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$dir
54
0 commit comments