Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uptracking issue for `rustc_dirty/clean` enhancements #45009
Comments
vitiral
referenced this issue
Oct 3, 2017
Merged
groundwork for rustc_clean/dirty improvements #44983
TimNN
added
A-incr-comp
C-tracking-issue
labels
Oct 3, 2017
vitiral
added a commit
to vitiral/rust
that referenced
this issue
Oct 3, 2017
vitiral
added a commit
to vitiral/rust
that referenced
this issue
Oct 3, 2017
This comment has been minimized.
This comment has been minimized.
|
@vitiral Sounds like good plan to me! |
vitiral
added a commit
to vitiral/rust
that referenced
this issue
Oct 4, 2017
This was referenced Oct 4, 2017
Badel2
added a commit
to Badel2/rust
that referenced
this issue
Oct 12, 2017
bors
added a commit
that referenced
this issue
Oct 14, 2017
pnkfelix
added
the
T-compiler
label
Mar 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vitiral commentedOct 3, 2017
•
edited
cc @michaelwoerister
this is partof #44924
I started this work in #44983, but I would like to break it out into three separate pull requests.
This feature will make it so that
rustc_clean(except="foo,bar")will assert that ALL DefNode's are clean (which is different depending on which def-node it is) except for the ones given inexcept=(which it asserts are dirty)Example syntax:
Instead of how it is currently done:
This should make testing incr-compilation more complete, less boilerplate and easier to read (but also an itty bit more magic)
This work is split into three parts:
label=to support that functionality inexceptin the future. This requires a couple of changes tolibrustc, so I want to merge it separately.except=and detect theDefNodeand do correct assertions. Also use it in a couple of test files (continue to supportlabel=)Nodeenum, which can be gotten fromhir.get. From there I will construct the expected fields that could change. The initial implementation will just use the ones suggested in #44924label=and remove from all tests.Item 1 adds
rustc::dep_graph::dep_node::label_strsso that we can specify groups in this way: