about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-12-25 12:13:11 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2020-12-25 12:19:14 +0100
commit35f4a25c6b216c27c5d87a171620d3f2c5c0a18b (patch)
treeb125a6129f5a2292d705806850609f8b4265e932 /scripts
parent3f6a3b5ebece5f6d3b1010b68a5fd86756593098 (diff)
downloadrust-35f4a25c6b216c27c5d87a171620d3f2c5c0a18b.tar.gz
rust-35f4a25c6b216c27c5d87a171620d3f2c5c0a18b.zip
Add documentation
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cargo.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/cargo.sh b/scripts/cargo.sh
index 934b2c6d7a1..a3d6d303057 100755
--- a/scripts/cargo.sh
+++ b/scripts/cargo.sh
@@ -11,6 +11,8 @@ shift || true
 
 if [[ "$cmd" = "jit" ]]; then
 cargo "+${TOOLCHAIN}" rustc "$@" -- -Cllvm-args=mode=jit -Cprefer-dynamic
+elif [[ "$cmd" = "lazy-jit" ]]; then
+cargo "+${TOOLCHAIN}" rustc "$@" -- -Cllvm-args=mode=jit-lazy -Cprefer-dynamic
 else
 cargo "+${TOOLCHAIN}" "$cmd" "$@"
 fi