aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2023-04-08 12:26:07 +0000
committerMiguel Ojeda <[email protected]>2023-04-12 18:41:05 +0200
commit6841d45a303029c54d6ad1ebb5dc72f7b2a74700 (patch)
tree27f649511edf9eba57f7c7ed89f97a929f12a115 /scripts/gdb/linux/proc.py
parentd0fdc3961270617826e4794fca1d092853847707 (diff)
rust: init: add `stack_pin_init!` macro
The `stack_pin_init!` macro allows pin-initializing a value on the stack. It accepts a `impl PinInit<T, E>` to initialize a `T`. It allows propagating any errors via `?` or handling it normally via `match`. Signed-off-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Reviewed-by: Gary Guo <[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