mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
remove workaround for make prepare and use dry-run build instead
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
60c3673456
commit
17aab60d6f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user