I compile a crate A that depends of another crate B that contains very small functions ( 2 or 3 lines ).
When I compile the crate A, all functions are called
callq A...fct... but not inline. I need to #[inline] all functions in B to allow inlining.
B contains a lot of small functions and I don't want to #[inline] all of them.
I generate asm with this
cargo rustc --release -- -C lto --emit asm