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.
2 parents ae6daf7 + 3eb649c commit 6a739b3Copy full SHA for 6a739b3
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