summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-10-06 17:29:35 +0200
committerGary Guo <gary@garyguo.net>2026-10-07 12:52:28 +0200
commit6fbdebfeb02f36c5ec187aea34e47d219b866253 (patch)
tree4061a4e5a2354e8e52e436018475d17525657b80 /scripts
parent003a8953d2f1c310550ac477a508b7be910b9827 (diff)
downloadlinux-next-6fbdebfeb02f36c5ec187aea34e47d219b866253.tar.gz
linux-next-6fbdebfeb02f36c5ec187aea34e47d219b866253.zip
rust: pin-init: internal: pin_data: move projection struct into `const _: ()` block
Most users would not need to mention the generated projection struct. With the upcoming self-referential support, there needs to be additional projection structs. Instead of give them publicly visible names, simply make the name not publicly accessible. A heavy user of pin projection outside kernel is for async programming. I've checked tokio codebase there is a single use case and that's for enums. Acked-by: Benno Lossin <lossin@kernel.org> Link: https://patch.msgid.link/20261006-dev-selfref-dep-v1-5-da716f740d6d@garyguo.net Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions