Skip to content

chore: lint ctest-test crate #4413

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

Merged
merged 1 commit into from
Apr 25, 2025
Merged

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Apr 15, 2025

run cargo clippy --all-targets on ctest-test, and fix all default issues

@rustbot label +stable-nominated

@rustbot
Copy link
Collaborator

rustbot commented Apr 15, 2025

r? @tgross35

rustbot has assigned @tgross35.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added ctest Issues relating to the ctest crate S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Apr 15, 2025
@nyurik nyurik force-pushed the ctest-test-lints branch 4 times, most recently from df8cafb to a9b5944 Compare April 15, 2025 18:47
Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note, ctest isn't on the libc-0.2 branch at all so there are no backports needed for these changes.

@tgross35 tgross35 added S-waiting-on-review stable-unneeded This PR is applied to main but already exists on libc-0.2 S-waiting-on-author and removed S-waiting-on-author stable-nominated This PR should be considered for cherry-pick to libc's stable release branch S-waiting-on-review labels Apr 15, 2025
@nyurik nyurik force-pushed the ctest-test-lints branch from a9b5944 to f91bf9c Compare April 21, 2025 14:22
@nyurik nyurik requested a review from tgross35 April 21, 2025 14:29
@nyurik nyurik force-pushed the ctest-test-lints branch from 3a56cd8 to 9367edd Compare April 21, 2025 14:57
Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please squash

@nyurik nyurik force-pushed the ctest-test-lints branch from 9367edd to c0cb416 Compare April 25, 2025 04:45
@nyurik
Copy link
Contributor Author

nyurik commented Apr 25, 2025

thx, done. Why isn't libc using the github squash command?

Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Annoyingly with merge queues you can't choose the strategy on a case-by-case basis, and we do need to preserve commits in some cases. Sometimes I can squash and force push via the gh UI, but better if the author can do it so they don't get out of sync.

I can use rebase from the UI if something gets stuck on since-fixed tests though, case in point.

@tgross35 tgross35 enabled auto-merge April 25, 2025 04:58
run `cargo clippy --all-targets` on `ctest-test`, and fix all default issues. Also added a generic
@tgross35 tgross35 added this pull request to the merge queue Apr 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 25, 2025
@tgross35 tgross35 added this pull request to the merge queue Apr 25, 2025
Merged via the queue into rust-lang:main with commit 8c10293 Apr 25, 2025
50 checks passed
@nyurik nyurik deleted the ctest-test-lints branch April 25, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctest Issues relating to the ctest crate S-waiting-on-review stable-unneeded This PR is applied to main but already exists on libc-0.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants