summaryrefslogtreecommitdiff
path: root/Documentation/rust/general-information.rst
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2024-02-15 13:46:01 +0300
committerMiguel Ojeda <ojeda@kernel.org>2024-02-18 23:22:27 +0300
commit44f2e626cbf777f3035aef7fa379ce34bf2f57e8 (patch)
treef207ff52b268c938a9ad559f30879001083da55b /Documentation/rust/general-information.rst
parente283ee239220908118d66eea46dd8bb6175767b2 (diff)
downloadlinux-44f2e626cbf777f3035aef7fa379ce34bf2f57e8.tar.xz
rust: kernel: stop using ptr_metadata feature
The `byte_sub` method was stabilized in Rust 1.75.0. By using that method, we no longer need the unstable `ptr_metadata` feature for implementing `Arc::from_raw`. This brings us one step closer towards not using unstable compiler features. Reviewed-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Reviewed-by: Trevor Gross <tmgross@umich.edu> Signed-off-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20240215104601.1267763-1-aliceryhl@google.com [ Reworded title. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Documentation/rust/general-information.rst')
0 files changed, 0 insertions, 0 deletions