TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust 1.80.0 breaks existing code

4 pointsby amscotti9 months ago

2 comments

lifthrasiir9 months ago
Don&#x27;t feel like a secondary source is necessary here, see @kornel&#x27;s post [1], the actual issue [2] and the related libs-team minutes [3] [4] for the direct context.<p>To be clear, not just Rust but virtually every upgrade has a potential to break <i>someone</i>&#x27;s code, so we are really talking about the higher-than-normal breakage ratio due to a particular popular crate being hit by this issue. In my understanding, such type inference failure is already described as an acceptable breakage per RFC 1122 [5] and this issue was deemed acceptable as such. After all, such breakage can be mechanically resolved with an additional annotation and `Cargo.lock` should be easy to update. But it is likely that any future PR with a potential type inference failure will require a mandatory crater run to gauge its actual impact.<p>[1] <a href="https:&#x2F;&#x2F;internals.rust-lang.org&#x2F;t&#x2F;type-inference-breakage-in-1-80-has-not-been-handled-well&#x2F;21374" rel="nofollow">https:&#x2F;&#x2F;internals.rust-lang.org&#x2F;t&#x2F;type-inference-breakage-in...</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;127343">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust&#x2F;issues&#x2F;127343</a><p>[3] <a href="https:&#x2F;&#x2F;hackmd.io&#x2F;xS913qb6QFCGHrdHB0uhBw#nominated-rusttf127343-regression-type-annotations-needed-for-Boxlt_gt" rel="nofollow">https:&#x2F;&#x2F;hackmd.io&#x2F;xS913qb6QFCGHrdHB0uhBw#nominated-rusttf127...</a><p>[4] <a href="https:&#x2F;&#x2F;hackmd.io&#x2F;ROIVABA2QCOQSYFo9txhLw#nominated-rusttf125319-Type-inference-regression-on-nightly-2024-05-20" rel="nofollow">https:&#x2F;&#x2F;hackmd.io&#x2F;ROIVABA2QCOQSYFo9txhLw#nominated-rusttf125...</a><p>[5] <a href="https:&#x2F;&#x2F;rust-lang.github.io&#x2F;rfcs&#x2F;1122-language-semver.html#underspecified-language-semantics" rel="nofollow">https:&#x2F;&#x2F;rust-lang.github.io&#x2F;rfcs&#x2F;1122-language-semver.html#u...</a>
bdjsiqoocwk9 months ago
Yikes. It sounds like Rust isn&#x27;t easy for production. Too unstable.