Re:Building the Rust Compiler with GCC
by dwattttt on Monday July 07, 2025 @04:07AM
(#44487843)
"inline(always)" I expect matches Clang's "always_inline", and Clang's documentation makes what it does clearer:
> Inlining heuristics are disabled and inlining is always attempted regardless of optimization level.
So it should be interpreted as "always attempt to inline", as opposed to "this must be inclined", or other attributes that instead influence the "should this be inclined" heuristic.
> Inlining heuristics are disabled and inlining is always attempted regardless of optimization level.
So it should be interpreted as "always attempt to inline", as opposed to "this must be inclined", or other attributes that instead influence the "should this be inclined" heuristic.