Skip to content

Commit 17aab60

Browse files
committed
remove workaround for make prepare and use dry-run build instead
Signed-off-by: onur-ozkan <[email protected]>
1 parent 60c3673 commit 17aab60

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/bootstrap/mk/Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ install:
9595
tidy:
9696
$(Q)$(BOOTSTRAP) test --stage 2 src/tools/tidy $(BOOTSTRAP_ARGS)
9797
prepare:
98-
$(Q)$(BOOTSTRAP) build --stage 2 nonexistent/path/to/trigger/cargo/metadata
98+
$(Q)$(BOOTSTRAP) build --stage 2 --dry-run
9999

100100
## MSVC native builders
101101

src/bootstrap/src/lib.rs

-9
Original file line numberDiff line numberDiff line change
@@ -596,15 +596,6 @@ impl Build {
596596
_ => (),
597597
}
598598

599-
{
600-
let builder = builder::Builder::new(self);
601-
if let Some(path) = builder.paths.first() {
602-
if path == Path::new("nonexistent/path/to/trigger/cargo/metadata") {
603-
return;
604-
}
605-
}
606-
}
607-
608599
if !self.config.dry_run() {
609600
{
610601
// We first do a dry-run. This is a sanity-check to ensure that

0 commit comments

Comments
 (0)