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

various new 1.85 clippy lints #864

Merged
merged 3 commits into from
Feb 20, 2025
Merged

various new 1.85 clippy lints #864

merged 3 commits into from
Feb 20, 2025

Conversation

iximeow
Copy link
Member

@iximeow iximeow commented Feb 20, 2025

the packed structs almost certainly should be repr(C) (why does that default to repr(Rust)???)

the indentation change is unfortunate and doc_overindented_list_items hasn't really convinced me that this would introduce broken spacing in rendered docs, but i don't have it in me to allow the lint for a few lines like this.

the packed structs almost certainly should be repr(C) (why does that
default to repr(Rust)???)

the indentation change is unfortunate and doc_overindented_list_items
hasn't really convinced me that this *would* introduce broken spacing in
rendered docs, but i don't have it in me to allow the lint for a few
lines like this.
@iximeow iximeow marked this pull request as ready for review February 20, 2025 18:23
Copy link
Contributor

@gjcolombo gjcolombo left a comment

Choose a reason for hiding this comment

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

Looks good. If you haven't already, it might be worthwhile to spin up a propolis-server and connect to its VNC port just to smoke-test the repr changes. Thanks for taking care of this!

@iximeow
Copy link
Member Author

iximeow commented Feb 20, 2025

@gjcolombo it turns out i'd been on the beta channel locally, so i'd updated to 1.86 (!) which does not have a lint present in 1.85 (???) about parenthesizing bitwise operations explicitly, so there are a few more changes here. clippy suggestions are all making the expected operations explicit so it's all pretty straightforward, but mind taking another look? (sorry for the runaround)

and yeah, i'll check out VNC while this goes through CI, good call!

@iximeow
Copy link
Member Author

iximeow commented Feb 20, 2025

update: after a slight adventure starting propolis-server, VNC looks all good (modulo #868, which after checking is also working as expected). reasonable framebuffer, mouse and keyboard still good.

@iximeow iximeow merged commit 1dea869 into master Feb 20, 2025
11 checks passed
@iximeow iximeow deleted the rust-1.85-clippy branch February 20, 2025 22:34
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

Successfully merging this pull request may close these issues.

None yet

3 participants