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

Commands or tools for viewing build dependencies #2011

Closed
larsbergstrom opened this issue Sep 29, 2015 · 0 comments
Closed

Commands or tools for viewing build dependencies #2011

larsbergstrom opened this issue Sep 29, 2015 · 0 comments

Comments

@larsbergstrom
Copy link

We have two scenarios here that are tough for us on Servo today:

  • Understanding why X is rebuilding in a given cargo build invocation (e.g., why is script rebuilding?)
  • Seeing what the dependency chain is for a given crate (e.g., what all is depended upon by script?)

To date, we've used the fingerprint logging support, but that's somewhat awkward at best. It would be awesome to have some kinda of tool or debugging infra to make this better.

cc @pcwalton @metajack @glennw

bors added a commit that referenced this issue Oct 6, 2015
This series of commits performs two primary tasks:

* The backend is refactored (again!) to have a much better understanding of what's used as input to everything else in terms of parallelization and dependency tracking. The major goal here was to completely unify all parts of the backend which sort of ad-hoc track dependencies and deal with cross compilation. More details can be found in the first commit message.
* Greatly improving diagnostics for why a crate is being rebuilt. This still requires setting `RUST_LOG`, but it was spurred on by #2011 and should help at least my own personal internal debugging of "why is this crate rebuilding?" which seems to come up quite often!
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

No branches or pull requests

1 participant