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 84dd229 commit ae1bcb2Copy full SHA for ae1bcb2
scripts/cargo.sh
@@ -10,9 +10,9 @@ cmd=$1
10
shift || true
11
12
if [[ "$cmd" = "jit" ]]; then
13
-cargo "+${TOOLCHAIN}" rustc "$@" -- -Cllvm-args=mode=jit -Cprefer-dynamic
+RUSTFLAGS="-Cprefer-dynamic" cargo "+${TOOLCHAIN}" rustc "$@" -- -Cllvm-args=mode=jit
14
elif [[ "$cmd" = "lazy-jit" ]]; then
15
-cargo "+${TOOLCHAIN}" rustc "$@" -- -Cllvm-args=mode=jit-lazy -Cprefer-dynamic
+RUSTFLAGS="-Cprefer-dynamic" cargo "+${TOOLCHAIN}" rustc "$@" -- -Cllvm-args=mode=jit-lazy
16
else
17
cargo "+${TOOLCHAIN}" "$cmd" "$@"
18
fi
0 commit comments