Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix --build-plan with dev-dependencies #6086

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

alexcrichton
Copy link
Member

Regressed in #6005 it looks like the build plan requires all packages to
be downloaded rather than just those coming out of unit_dependenices,
so let's make sure to download everything!

Closes #6082

@rust-highfive
Copy link

r? @matklad

(rust_highfive has picked a reviewer for you, use r? to override)

@ehuss
Copy link
Contributor

ehuss commented Sep 24, 2018

Is it necessary to download everything? Can build_plan_inputs just return the set of packages found in unit_dependencies (perhaps by looking at self.package_cache instead of self.bcx.packages?

@alexcrichton
Copy link
Member Author

Perhaps? I didn't really want to investigate the build plan that much as it's an unstable feature anyway... I'll take a look

Regressed in rust-lang#6005 it looks like the build plan requires all packages to
be downloaded rather than just those coming out of `unit_dependenices`,
so let's make sure to download everything!

Closes rust-lang#6082
@ehuss
Copy link
Contributor

ehuss commented Sep 24, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Sep 24, 2018

📌 Commit d8e43e8 has been approved by ehuss

@bors
Copy link
Contributor

bors commented Sep 24, 2018

⌛ Testing commit d8e43e8 with merge 2e74d3f...

bors added a commit that referenced this pull request Sep 24, 2018
Fix `--build-plan` with dev-dependencies

Regressed in #6005 it looks like the build plan requires all packages to
be downloaded rather than just those coming out of `unit_dependenices`,
so let's make sure to download everything!

Closes #6082
@bors
Copy link
Contributor

bors commented Sep 24, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: ehuss
Pushing 2e74d3f to master...

@bors bors merged commit d8e43e8 into rust-lang:master Sep 24, 2018
@alexcrichton alexcrichton deleted the build-plan-dev-deps branch October 12, 2018 17:25
@ehuss ehuss added this to the 1.31.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--build-plan fails when dev-dependencies are present
5 participants