remove workaround for make prepare and use dry-run build instead

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2024-09-20 17:31:36 +03:00
parent 60c3673456
commit 17aab60d6f
2 changed files with 1 additions and 10 deletions

View File

@ -95,7 +95,7 @@ install:
tidy:
$(Q)$(BOOTSTRAP) test --stage 2 src/tools/tidy $(BOOTSTRAP_ARGS)
prepare:
$(Q)$(BOOTSTRAP) build --stage 2 nonexistent/path/to/trigger/cargo/metadata
$(Q)$(BOOTSTRAP) build --stage 2 --dry-run
## MSVC native builders

View File

@ -596,15 +596,6 @@ impl Build {
_ => (),
}
{
let builder = builder::Builder::new(self);
if let Some(path) = builder.paths.first() {
if path == Path::new("nonexistent/path/to/trigger/cargo/metadata") {
return;
}
}
}
if !self.config.dry_run() {
{
// We first do a dry-run. This is a sanity-check to ensure that