diff --git a/quest/m2/README.md b/quest/m2/README.md index 02702f43e..372185fcc 100644 --- a/quest/m2/README.md +++ b/quest/m2/README.md @@ -26,7 +26,6 @@ The fork's feature quests folded into the [exporter](/quest/m1/ffi-export/README ## Required -- [Byte-slice locals that crash the translator](/quest/m2/ts-scalar-ice.md) - `take_apart` never reaches the arm `find_scalars` promised it wouldn't - [Byte slices without objects](/quest/m2/ts-byte-views/README.md) - reading through a translated cursor allocates no object per read - [Async in the TypeScript translator](/quest/m2/ts-async.md) - moq-net's and kio's async code translates with Rust's lazy futures - [Shared ownership](/quest/m2/ts-shared.md) - `Arc`/`Rc`/`Weak` keep exact counts, and locks and atomics become plain values diff --git a/quest/m2/ts-scalar-ice.md b/quest/m2/ts-scalar-ice.md deleted file mode 100644 index c45b02f31..000000000 --- a/quest/m2/ts-scalar-ice.md +++ /dev/null @@ -1,21 +0,0 @@ -# [S] Byte-slice locals that crash the translator - -## Goal - -rust2-ts never panics in `Fx::take_apart` (`ts/src/lower/mir/scalar.rs`): every value -`find_scalars` holds as parts can be taken apart, or `find_scalars` declines it, proven by a -fixture that crashed before the fix and by differential tests against native Rust. - -## Plan - -Decided with the maintainer on 2026-10-27: a rustc ICE report that -[#130](https://github.com/kixelated/rust2/pull/130) committed by accident records -`take_apart` reaching `unreachable!("checked by find_scalars")`. The input is lost, and -`main` still has the arm (`Shape::Enum`), so reproduce it first: likely an enum-shaped value -taken apart where `find_scalars` assumed none, from the codec, moq's model census, or a -fixture variant. - -- Fix it where `find_scalars` and `take_apart` disagree, and check the file's other - `checked by find_scalars` assumptions for the same gap. - -Public API: none, unless the fix changes the translator's output.