-
Notifications
You must be signed in to change notification settings - Fork 2
Update to Rust nightly of 2026-03-01 #176
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
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,6 @@ | |
|
|
||
| #![no_std] | ||
| #![deny(unsafe_code)] | ||
| #![feature(extract_if)] | ||
|
|
||
| pub mod boolean_value; | ||
| pub mod device; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,6 @@ | |
| //! ``` | ||
| //! | ||
|
|
||
| #![feature(let_chains)] | ||
| #![feature(proc_macro_diagnostic)] | ||
|
|
||
| use proc_macro::TokenStream; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| [toolchain] | ||
| channel = "nightly-2023-02-05" | ||
| channel = "nightly-2026-03-01" | ||
| components = ["cargo", "llvm-tools", "rust-src", "rust-std", "rustc", "rustc-dev", "rustfmt"] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -277,7 +277,7 @@ impl BlockGroup { | |
| .inner | ||
| .write() | ||
| .inode_cache | ||
| .extract_if(|_, inode| Arc::strong_count(inode) == 1) | ||
| .extract_if(.., |_, inode| Arc::strong_count(inode) == 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. what does this syntax do?
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.
|
||
| .map(|(_, inode)| inode) | ||
| .collect(); | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # One should also update asterinas/rust-toolchain.toml when updating this. | ||
| # The first two lines will be deleted when generating the user's toolchain file. | ||
| [toolchain] | ||
| channel = "nightly-2025-02-01" | ||
| channel = "nightly-2026-03-01" | ||
| components = ["rust-src", "rustc-dev", "llvm-tools-preview"] |
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.
Is the comment above about this being copied from rust's stdlib still true?
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 don't know why you can no-longer access
format_args_nl, but you can't. However based on rust-lang/rust#111060 (comment),format_args!("{}\n", format_args!($($arg)*))has no overhead, so I'm using that instead.