From cd33d3a0e49f67fdeebb8e19593f10b95e5719ee Mon Sep 17 00:00:00 2001 From: Mark Simulacrum Date: Fri, 9 Mar 2018 19:23:35 -0700 Subject: Stub out various functions during testing --- src/bootstrap/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bootstrap/builder.rs') 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 { -- cgit 1.4.1-3-g733a5