diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-03-09 19:23:35 -0700 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-04-03 11:39:16 -0600 |
| commit | cd33d3a0e49f67fdeebb8e19593f10b95e5719ee (patch) | |
| tree | 990fab5b642a8f7a5f235ccbbe73d44b3844927e /src/bootstrap/builder.rs | |
| parent | e7342b8f4233b67093c62c4044273185312aac59 (diff) | |
| download | rust-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.rs | 2 |
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 { |
