Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: block: update `const_refs_to_static` MSRV TODO comment

`feature(const_refs_to_static)` was stabilized in Rust 1.83.0 [1].

Thus update the comment to reflect that.

Link: https://github.com/rust-lang/rust/pull/129759 [1]
Reviewed-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260405235309.418950-17-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

+1 -3
+1 -3
rust/kernel/block/mq/gen_disk.rs
··· 140 140 devnode: None, 141 141 alternative_gpt_sector: None, 142 142 get_unique_id: None, 143 - // TODO: Set to THIS_MODULE. Waiting for const_refs_to_static feature to 144 - // be merged (unstable in rustc 1.78 which is staged for linux 6.10) 145 - // <https://github.com/rust-lang/rust/issues/119618> 143 + // TODO: Set to `THIS_MODULE`. 146 144 owner: core::ptr::null_mut(), 147 145 pr_ops: core::ptr::null_mut(), 148 146 free_disk: None,