diff options
| author | Nicolás Antinori <nico.antinori.7@gmail.com> | 2026-07-23 19:19:46 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2026-07-27 11:52:08 +0100 |
| commit | 6d0795b507fb1db2e6aefe533d949db3a4abf4c6 (patch) | |
| tree | e7f5a249168d39de93cf5894696e45f5b0bae8dd /rust/kernel/alloc | |
| parent | 9e813b9abdfb626f0607b1ec94d201a2b8691f4e (diff) | |
rust: pin-init: mark `pin_init::zeroed` and `Zeroable::zeroed` as `#[inline]`
The `pin_init::zeroed` function is a trivial wrapper around
`unsafe { core::mem::zeroed() }`, whereas `Zeroable::zeroed` is a trivial
wrapper around `pin_init::zeroed`. Mark them both as `#[inline]` to avoid
generating unnecessary symbols for them.
Signed-off-by: Nicolás Antinori <nico.antinori.7@gmail.com>
Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
