aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2023-04-08 12:26:01 +0000
committerMiguel Ojeda <[email protected]>2023-04-12 18:41:05 +0200
commitd0fdc3961270617826e4794fca1d092853847707 (patch)
tree297fd0bcde51e9b9d7fef7c1bc7e12e0bf0ea155 /scripts/gdb/linux/proc.py
parent92c4a1e7e81cc775b2ad6bedb348098230f7ed87 (diff)
rust: init: add `PinnedDrop` trait and macros
The `PinnedDrop` trait that facilitates destruction of pinned types. It has to be implemented via the `#[pinned_drop]` macro, since the `drop` function should not be called by normal code, only by other destructors. It also only works on structs that are annotated with `#[pin_data(PinnedDrop)]`. Co-developed-by: Gary Guo <[email protected]> Signed-off-by: Gary Guo <[email protected]> Signed-off-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions