-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Simplify bootstrap --check-cfg
arguments
#119441
Simplify bootstrap --check-cfg
arguments
#119441
Conversation
r? @onur-ozkan (rustbot has picked a reviewer for you, use r? to override) |
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.
If we making changes here I expect seperating the logic and write unit tests on it.
Sure, and were should the function and it's unit-test be? |
I think function can be right below |
@onur-ozkan After looking at similar functions I move the logic to |
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.
LGTM, r=me with or without the suggestion
👍 but I don't have a r+ rights 😅 |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (fcfe05a): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 668.357s -> 667.255s (-0.16%) |
This PR simplifies the generated check-cfg arguments generated for the no-values case.
For the
bootstrap
cfg:Those are equivalent, so there isn't any semantic difference; but the invocation is shorter and less distracting.
@rustbot label +F-check-cfg