about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorChristian Poveda <christianpoveda@protonmail.com>2018-09-28 00:19:56 -0500
committerChristian Poveda <christianpoveda@protonmail.com>2018-09-28 01:53:38 -0500
commit53254a888b424b02b1daaedfae63acb4e3231912 (patch)
treed25d590b7d1259942e50052f36b5f48c056a4b01 /src/ci
parent7d52cbce6db83e4fc2d8706b4e4b9c7da76cbcf8 (diff)
downloadrust-53254a888b424b02b1daaedfae63acb4e3231912.tar.gz
rust-53254a888b424b02b1daaedfae63acb4e3231912.zip
Add enable-missing-tools option
Diffstat (limited to 'src/ci')
-rwxr-xr-xsrc/ci/run.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index 6a571bfad13..281f4f92a7f 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -76,6 +76,10 @@ else
   fi
 fi
 
+if [ "$RUST_RELEASE_CHANNEL" = "nightly" ] or [ "$DIST_REQUIRE_ALL_TOOLS" = "" ]; then
+    RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-missing-tools"
+fi
+
 # We've had problems in the past of shell scripts leaking fds into the sccache
 # server (#48192) which causes Cargo to erroneously think that a build script
 # hasn't finished yet. Try to solve that problem by starting a very long-lived