<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Miri on SoloSoft</title><link>https://www.solosoft.dev/tags/miri/</link><description>Recent content in Miri on SoloSoft</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 14 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.solosoft.dev/tags/miri/index.xml" rel="self" type="application/rss+xml"/><item><title>Rust Accepted This Safe-Looking Code for 4,001 Days: Reproducing the Borrow-Checker Use-After-Free on Stable 1.99.0, Where the Fix Is 8 Lines and the Test-Suite Bill Is 38 Files</title><link>https://www.solosoft.dev/post/rust-borrowck-covariant-field-assignment-unsoundness/</link><pubDate>Wed, 14 Oct 2026 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/rust-borrowck-covariant-field-assignment-unsoundness/</guid><description>&lt;p&gt;On 2026-10-13 at 08:45:54Z, an issue was filed against &lt;code&gt;rust-lang/rust&lt;/code&gt; with the title &lt;em&gt;&amp;ldquo;struct&amp;rsquo;s lifetime requirements can be bypassed via covariant field assignment&amp;rdquo;&lt;/em&gt;. Within fifteen minutes the type team had it labelled &lt;strong&gt;P-critical&lt;/strong&gt;; by 09:25 it was &lt;strong&gt;P-high&lt;/strong&gt; and marked &lt;code&gt;I-unsound&lt;/code&gt;. A Hacker News submission the same morning reached &lt;strong&gt;667 points and 373 comments&lt;/strong&gt;. The issue number is &lt;strong&gt;#164250&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The reason a compiler bug of this kind attracts that much attention is not the bug. It is the code that triggers it. The reproducer contains &lt;strong&gt;no &lt;code&gt;unsafe&lt;/code&gt;&lt;/strong&gt;, no transmute, no raw pointers, and no FFI. It is the kind of struct-plus-&lt;code&gt;Drop&lt;/code&gt; pairing that appears in ordinary Rust, and as of this writing &lt;strong&gt;every released rustc and every nightly accepts it&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>