diff options
| author | 2025-12-16 17:24:49 +0900 | |
|---|---|---|
| committer | 2026-01-19 01:13:22 +0100 | |
| commit | 84b1b49eccb79ec2e4aaa45116fffb2ac61b876c (patch) | |
| tree | 264e8227c0190d45e8d57dc34f38356be3a06807 /scripts/Makefile.thinlto | |
| parent | rust: build_assert: add instructions for use with function arguments (diff) | |
rust: ptr: replace unneeded use of `build_assert`
Since `ALIGN` is a const parameter, this assertion can be done in const
context using the `assert!` macro.
Suggested-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20251216-ptr_assert-v1-1-d8b2d5c5741d@nvidia.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
