Skip to content

Commit

Permalink
Handle the dry_run case in the lldb dist step
Browse files Browse the repository at this point in the history
  • Loading branch information
tromey committed Aug 2, 2018
1 parent 7707578 commit 1d43f25
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1992,9 +1992,10 @@ impl Step for Lldb {
fn run(self, builder: &Builder) -> Option<PathBuf> {
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");
Expand Down

0 comments on commit 1d43f25

Please sign in to comment.