summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorBenno Lossin <benno.lossin@proton.me>2025-03-08 14:04:52 +0300
committerMiguel Ojeda <ojeda@kernel.org>2025-03-16 23:59:19 +0300
commit31547c988257b3ddd1badb23c166c42b5310735c (patch)
treeb1cfa07f1f422cafe0b6ca48ebb9f92699b835f7 /scripts/gdb/linux/tasks.py
parent129e97be8e2856884e01340e4070c003345e1cdc (diff)
downloadlinux-31547c988257b3ddd1badb23c166c42b5310735c.tar.xz
rust: pin-init: remove kernel-crate dependency
In order to make pin-init a standalone crate, remove dependencies on kernel-specific code such as `ScopeGuard` and `KBox`. `ScopeGuard` is only used in the `[pin_]init_array_from_fn` functions and can easily be replaced by a primitive construct. `KBox` is only used for type variance of unsized types and can also easily be replaced. Signed-off-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Fiona Behrens <me@kloenk.dev> Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org> Tested-by: Andreas Hindborg <a.hindborg@kernel.org> Link: https://lore.kernel.org/r/20250308110339.2997091-13-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