Skip to content

Commit 1d43f25

Browse files
committed
Handle the dry_run case in the lldb dist step
1 parent 7707578 commit 1d43f25

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/bootstrap/dist.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1992,9 +1992,10 @@ impl Step for Lldb {
19921992
fn run(self, builder: &Builder) -> Option<PathBuf> {
19931993
let target = self.target;
19941994

1995-
// Do nothing if lldb was not built. This is difficult to
1996-
// determine in should_run because the target is not available
1997-
// at that point.
1995+
if builder.config.dry_run {
1996+
return None;
1997+
}
1998+
19981999
let bindir = builder
19992000
.llvm_out(target)
20002001
.join("bin");

0 commit comments

Comments
 (0)