-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Add new tool for dumping feature status based on tidy #135844
base: master
Are you sure you want to change the base?
Conversation
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
May need to rebase the merge commit away (maybe this is a different set of changes?) |
yeah I realized that this was a branch named after your branch but which I failed to merge into when I was trying to sort out the commit history stuff, then when I pushed this I took a break because I've been feeling like shit this week and had to rest. Thank you for being so patient with me. |
b78ca32
to
a542953
Compare
This comment has been minimized.
This comment has been minimized.
bd19bac
to
69b79a3
Compare
alright, I think we're gucchi. I haven't tested it but hopefully CI will do that, gotta run and catch a train. |
This comment has been minimized.
This comment has been minimized.
@@ -8,6 +8,7 @@ mod tests; | |||
pub const VERSION_PLACEHOLDER: &str = "CURRENT_RUSTC_VERSION"; | |||
|
|||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] | |||
#[derive(serde::Serialize)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing a cfg_attr
on feature = "build-metrics"
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/tools/tidy/Cargo.toml
Outdated
[features] | ||
build-metrics = ["serde"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be "dep:serde"
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
69b79a3
to
f5dff8d
Compare
Co-authored-by: Jane Losare-Lusby <[email protected]>
Co-authored-by: Jane Losare-Lusby <[email protected]>
And also register its check step. Co-authored-by: Jane Losare-Lusby <[email protected]>
f5dff8d
to
cbcba57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes looked good to me, so I checked out your branch locally to test. Only two tiny issues that I needed to change to get the check and run steps to work properly, so I pushed the fix to your branch (and slightly adjusted the commit history). Let me know what you think, otherwise r=me and you.
With the two fixes to get it to build, I tested these locally:
./x check src/tools/features-status-dump
... OK./x check src/tools/features-status-dump
(unmodified re-run)... OK./x check src/tools/features-status-dump
(modified)... OK, REBUILDS./x run src/tools/features-status-dump
... OK, produces a JSON underbuild/
./x run src/tools/features-status-dump
(modified)... OK, REBUILDS
Not sure why it still said |
Hey no worries, take it easy, there's no rush. I hope you feel better soon :3 |
sequel to #133514
meaning ...
supercedes #133351
part of #129485
r? @jieyouxu
cc @estebank