diff options
author | 2025-03-08 11:04:34 +0000 | |
---|---|---|
committer | 2025-03-16 21:59:18 +0100 | |
commit | 114ca41fe7922ce85fcac30fa2b06b42b4956520 (patch) | |
tree | e044016281c0165d1d417bae499d663328cdd746 /scripts/generate_rust_analyzer.py | |
parent | rust: pin-init: move the default error behavior of `try_[pin_]init` (diff) | |
download | wireguard-linux-114ca41fe7922ce85fcac30fa2b06b42b4956520.tar.xz wireguard-linux-114ca41fe7922ce85fcac30fa2b06b42b4956520.zip |
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/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions