diff options
| author | Gary Guo <gary@garyguo.net> | 2026-08-27 17:51:46 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-09-07 11:54:49 +0900 |
| commit | 9aa6069d624ea877a17b7d0952c993d2eb07dc22 (patch) | |
| tree | 9078a6e065b2ea934513644db232998781b13b9a /scripts/Makefile.thinlto | |
| parent | b05ff82081b7b90fdd70cc7d07b3da9d85184f88 (diff) | |
| download | linux-next-9aa6069d624ea877a17b7d0952c993d2eb07dc22.tar.gz linux-next-9aa6069d624ea877a17b7d0952c993d2eb07dc22.zip | |
rust: io: add static `cast()` method for views
Add a compile-time checked variant of `try_cast()` using the minimum size
and alignment information.
Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260805-typed_register-v2-1-c3ca142220a0@garyguo.net
[ecourtney: fix the doc example type and doc grammar per v2 review]
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260827-pramin-split-v3-5-24b24d7afc52@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
