From 1d43f251dfd91de276966fe74452282b95a7aae2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 27 Jul 2018 08:46:01 -0600 Subject: [PATCH] Handle the dry_run case in the lldb dist step --- src/bootstrap/dist.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index c1ce0a6d3e327..cff03e610e2a2 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -1992,9 +1992,10 @@ impl Step for Lldb { fn run(self, builder: &Builder) -> Option { let target = self.target; - // Do nothing if lldb was not built. This is difficult to - // determine in should_run because the target is not available - // at that point. + if builder.config.dry_run { + return None; + } + let bindir = builder .llvm_out(target) .join("bin");