Closed ChaiTRex closed 4 months ago
It appears that adding #[inline(never)]
above the function header fixes the problem.
Yea, since some version rustc
treats very simple functions as inline-only and doesn't generate asm for them. #[inline(never)]
or in some cases #[no_mangle]
fixes the problem.