diff options
author | Benno Lossin <benno.lossin@proton.me> | 2025-03-08 14:04:34 +0300 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2025-03-16 23:59:18 +0300 |
commit | 114ca41fe7922ce85fcac30fa2b06b42b4956520 (patch) | |
tree | e044016281c0165d1d417bae499d663328cdd746 /scripts/gdb/linux/tasks.py | |
parent | 578eb8b6db13cd923f1ffa80b9e8d32dcc06d35d (diff) | |
download | linux-114ca41fe7922ce85fcac30fa2b06b42b4956520.tar.xz |
rust: pin-init: move `InPlaceInit` and impls of `InPlaceWrite` into the kernel crate
In order to make pin-init a standalone crate, move kernel-specific code
directly into the kernel crate. This includes the `InPlaceInit<T>`
trait, its implementations and the implementations of `InPlaceWrite` for
`Arc` and `UniqueArc`. All of these use the kernel's error type which
will become unavailable in pin-init.
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Fiona Behrens <me@kloenk.dev>
Tested-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://lore.kernel.org/r/20250308110339.2997091-9-benno.lossin@proton.me
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions