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>
This commit is contained in:
Gary Guo 2026-08-03 14:02:01 +01:00
commit 1e26aea035
4 changed files with 28 additions and 0 deletions