about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-20 14:29:14 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-03-20 14:32:36 -0700
commit7305ca38529d6cd9cb916f9303f85aa99c36b3c7 (patch)
tree3dea63a2ecc7fb51f167be3ec9d5831333572baa /src/ci
parent244f893ed704a60841d4615445d540a21a8d7722 (diff)
downloadrust-7305ca38529d6cd9cb916f9303f85aa99c36b3c7.tar.gz
rust-7305ca38529d6cd9cb916f9303f85aa99c36b3c7.zip
travis: Don't set `RUST_LOG` globally
I have a suspicion that this caused a large regression in cycle times by forcing
the compiler to perform more checks on every `debug!` statement, so let's test
this out by removing the `RUST_LOG` env var globally.

This regression in cycle time was witnessed between [two] [builds] where the
[PR] in question didn't do much suspicious. Judging by how the stage0 times
*also* regressed though then this is my best guess.

[two]: https://travis-ci.org/rust-lang/rust/builds/210149932
[builds]: https://travis-ci.org/rust-lang/rust/builds/210179995
[PR]: https://github.com/rust-lang/rust/pull/40446
Diffstat (limited to 'src/ci')
-rwxr-xr-xsrc/ci/docker/run.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ci/docker/run.sh b/src/ci/docker/run.sh
index b5a713dc382..c418d427b15 100755
--- a/src/ci/docker/run.sh
+++ b/src/ci/docker/run.sh
@@ -39,7 +39,6 @@ if [ "$SCCACHE_BUCKET" != "" ]; then
     args="$args --env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY"
     args="$args --env SCCACHE_ERROR_LOG=/tmp/sccache/sccache.log"
     args="$args --env SCCACHE_LOG_LEVEL=debug"
-    args="$args --env RUST_LOG=sccache=debug"
     args="$args --volume $objdir/tmp:/tmp/sccache"
 else
     mkdir -p $HOME/.cache/sccache