aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorAlice Ryhl <[email protected]>2024-07-30 13:06:32 +0000
committerMiguel Ojeda <[email protected]>2024-08-18 21:10:53 +0000
commit6c2d0ad53b8ff25cb1a12570191576d834e9108d (patch)
tree9017cd105a429a23cd0a85ced61e8fb87df47aaa /rust/helpers/build_bug.c
parentrust: Implement the smart pointer `InPlaceInit` for `Arc` (diff)
downloadkernel-6c2d0ad53b8ff25cb1a12570191576d834e9108d.tar.gz
kernel-6c2d0ad53b8ff25cb1a12570191576d834e9108d.zip
rust: implement ForeignOwnable for Pin<Box<T>>
We already implement ForeignOwnable for Box<T>, but it may be useful to store pinned data in a ForeignOwnable container. This patch makes that possible. This will be used together with upcoming miscdev abstractions, which Binder will use when binderfs is disabled. Signed-off-by: Alice Ryhl <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions