about summary refs log tree commit diff
path: root/src/bootstrap/builder.rs
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-03-09 19:23:35 -0700
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-04-03 11:39:16 -0600
commitcd33d3a0e49f67fdeebb8e19593f10b95e5719ee (patch)
tree990fab5b642a8f7a5f235ccbbe73d44b3844927e /src/bootstrap/builder.rs
parente7342b8f4233b67093c62c4044273185312aac59 (diff)
downloadrust-cd33d3a0e49f67fdeebb8e19593f10b95e5719ee.tar.gz
rust-cd33d3a0e49f67fdeebb8e19593f10b95e5719ee.zip
Stub out various functions during testing
Diffstat (limited to 'src/bootstrap/builder.rs')
-rw-r--r--src/bootstrap/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 6ae19ac394e..c2a53e4590e 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -687,7 +687,7 @@ impl<'a> Builder<'a> {
         // the options through environment variables that are fetched and understood by both.
         //
         // FIXME: the guard against msvc shouldn't need to be here
-        if !target.contains("msvc") {
+        if !target.contains("msvc") && !cfg!(test) {
             let ccache = self.config.ccache.as_ref();
             let ccacheify = |s: &Path| {
                 let ccache = match ccache {