Skip to content

Commit 64f1a96

Browse files
ojedaintel-lab-lkp
authored andcommitted
rust: kernel: update file_with_nul comment
`feature(file_with_nul)` [1] has been stabilized in Rust 1.92.0 [2]. Thus update the comment to keep track of it. In addition, this will help to sort new conditionally enabled features (i.e. `cfg_attr`) around it appropiately. Link: rust-lang/rust#141727 [1] Link: rust-lang/rust#145664 [2] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 232e79c commit 64f1a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// To be determined.
2424
#![feature(used_with_arg)]
2525
//
26-
// `feature(file_with_nul)` is expected to become stable. Before Rust 1.89.0, it did not exist, so
26+
// `feature(file_with_nul)` is stable since Rust 1.92.0. Before Rust 1.89.0, it did not exist, so
2727
// enable it conditionally.
2828
#![cfg_attr(CONFIG_RUSTC_HAS_FILE_WITH_NUL, feature(file_with_nul))]
2929

0 commit comments

Comments
 (0)