linux-stable/rust/kernel/sync
Alice Ryhl 44f2e626cb 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>
2024-02-18 21:22:27 +01:00
..
arc rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast() 2023-04-10 23:55:43 +02:00
lock rust: kernel: add reexports for macros 2024-02-18 21:22:27 +01:00
arc.rs rust: kernel: stop using ptr_metadata feature 2024-02-18 21:22:27 +01:00
condvar.rs rust: kernel: add reexports for macros 2024-02-18 21:22:27 +01:00
lock.rs rust: kernel: add doclinks 2024-02-18 21:22:27 +01:00
locked_by.rs rust: locked_by: shorten doclink preview 2024-02-18 21:22:27 +01:00