The story’s score and claims

Comments on No. 9 of 123 · GitHub · edition of Saturday 14 November 2026

Semver Trick

Summary

David Tolnay's GitHub write-up describes the "semver trick" for Rust crates: after publishing a breaking release such as libc 0.3, maintainers ship a final 0.2 release that depends on 0.3 and re-exports unchanged types, so c_void is the same type in both. Downstream crates could then upgrade in any order without major bumps. The history cited, including Servo's 52-library, three-month upgrade, was not independently verified. The trick does not help with non-sealed trait changes, public dependencies that don't use it, or minimum rustc bumps.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules