diff options
| author | Gary Guo <gary@garyguo.net> | 2026-06-10 12:42:22 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-10-02 09:20:33 +0200 |
| commit | 948440b3f429f84680db58b4bf529b1ed2a20e15 (patch) | |
| tree | 29529ac44cbc3ed0fd13011da6dd3c8941064bf9 /tools/lib/python/kdoc/python_version.py | |
| parent | dd47e7d8672b64ae8680f8abefbe4b5c55895cda (diff) | |
| download | linux-next-948440b3f429f84680db58b4bf529b1ed2a20e15.tar.gz linux-next-948440b3f429f84680db58b4bf529b1ed2a20e15.zip | |
rust: mem: add `Align` type
Rust's `repr(align())` only works with integers. Add an `Align` type so it
can also be specified via const generics.
Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://patch.msgid.link/20260610-const-align-v2-1-ccd12f0aedb7@garyguo.net
[ Adjusted the title of the new module to match the one used in patch
"rust: mem: add `transmute` with deferred size check" (landing via
driver-core), which is also closer to the upstream standard library
title. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
