You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libgccjit.so: error: : inlining failed in call to ‘always_inline’ ‘_ZN9test_rust7my_func17h0d9fc1667ee3d8a0E’: function not considered for inlining
libgccjit.so: src/main.rs:4:9: note: : called from here
As noted here, always_inline is not an optimization hint while #[inline(always)] is a hint as noted in the reference.
I'm not sure what the equivalent would be in GCC, though.
Maybe check what clang is doing (since it also has the issue) vs what rustc is doing.
The following code:
triggers the following error:
As noted here,
always_inline
is not an optimization hint while#[inline(always)]
is a hint as noted in the reference.I'm not sure what the equivalent would be in GCC, though.
Maybe check what clang is doing (since it also has the issue) vs what
rustc
is doing.#[rustc_force_inline]
is possibly implemented viaalways_inline
.The text was updated successfully, but these errors were encountered: