-
Notifications
You must be signed in to change notification settings - Fork 41
Bump rust to 1.97.1 #1186
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
base: master
Are you sure you want to change the base?
Bump rust to 1.97.1 #1186
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ name = "propolis" | |
| version = "0.1.0" | ||
| license = "MPL-2.0" | ||
| edition = "2021" | ||
| rust-version = "1.90" | ||
| rust-version = "1.93" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Without this we get the following at the |
||
|
|
||
| [dependencies] | ||
| libc.workspace = true | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -520,7 +520,6 @@ impl VirtQueue { | |
| false => ChainBuf::Readable(GuestAddr(desc.addr), desc.len), | ||
| }; | ||
|
|
||
| count += 1; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this seems wrong, or at least an existing bug, where
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it is an existing bug, yeah
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we fix it here or in a PR stacked on top of this?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| len += desc.len; | ||
| chain.push_buf(buf); | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -198,7 +198,7 @@ impl DevicePath { | |
| } | ||
| (ty, subtype) => { | ||
| bail!( | ||
| "Device path type/subtype unsupported: ({ty:#02x}/{subtype:#02x})" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i'm surprised by this one, does
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was actually curious about this one as well, because the output was not what I expected. This is a rust 1.97 lint I believe and didn't trigger on macOS with 1.96
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, this preserves the old behavior but we could change it if you want.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh i've written so many buggy format statements then. lmao. either way you want to take this here is fine imo. |
||
| "Device path type/subtype unsupported: ({ty:#x}/{subtype:#x})" | ||
| ); | ||
| } | ||
| } | ||
|
|
||
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.
now that's a good lint