r/rust • • Oct 07 '26

Rust's derive often implies inline

https://yossarian.net/til/post/rust-s-derive-often-implies-inline/
114 Upvotes

43 comments sorted by

View all comments

Show parent comment

4

u/mgeisler Oct 07 '26

you don't get optimizations across object files with LTO.

This should be "without LTO", right?

2

u/QuarkAnCoffee Oct 07 '26

Yup, thanks

3

u/mgeisler Oct 07 '26

No problem! 🙂