diff options
| author | Gary Guo <gary@garyguo.net> | 2026-08-03 14:02:01 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2026-08-05 11:36:18 +0100 |
| commit | 1e26aea0355ad2afa1ccbc62885c01f5bcfc58ca (patch) | |
| tree | 13a1e5c50f3edbbb02043999aa5c9a85b3c734b9 /rust/kernel | |
| parent | 1f7fa1374d3bb455944128fe5c30c19f8d3501c7 (diff) | |
rust: pin-init: add `#[inline]` to small functions
Currently `pin-init` crate is missing many inline annotations. They are all
generic so still get inlined in normal builds, but are not inlined in
`-C opt-level=s` build. Mark these functions as `#[inline]` so they are
considered for inlining regardless.
Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
