Commit c6002b7
committed
docs(record): the wasm row's numbers were two releases stale, and the upgrade path is measured across two binaries
THE CORRECTION LANDED IN THE RECORD AND NOT IN THE CODE. The design document
carries the re-taken 2026-09-11 measurement -- Emscripten 6.0.9 reports
`_LIBCPP_VERSION 220108` (llvm 22.1.8) and clang 24.0.0git -- while the
`wasm32-emscripten` row's own comment still said llvm 20.1.7, `200100` and
clang 22.0.0git. Two copies of one decision, and the second written without
reading the first.
The rule those numbers support is unaffected and is exactly why they have to
be right: the module surface must match the LIBRARY, never the compiler. A
stale number in a comment becomes a stale number in a diagnostic, and then in
somebody's install command.
Also simpler than the comment first said: 6.0.9 SHIPS the surface (134 files),
so `em++` links `import std` with no generated surface at all.
SECTION 11.8 GAINS A TWO-BINARY MEASUREMENT. An absent-tolerance claim is
about what a previous version wrote, so a unit test over a synthesised header
is not the whole criterion:
1. released 2026.9.10.2 writes `graph=normal;schedule=none;accel=default`
2. 2026.9.11.2 appends `;dist=none` -- fingerprint change, full rebuild, no error
3. 2026.9.11.2 again -- `Finished dev in 0.00s`, the fast path replays
4. 2026.9.10.2 again -- `0.00s`, the downgrade does not choke
Step 4 says what the tolerance is worth: the version is in the fingerprint, so
two binaries never share a graph directory and an older mcpp never reads a
`dist=` field at all. The read side is defence in depth rather than a live
path -- the same conclusion 11.2 reaches from the other direction.1 parent d1acbf7 commit c6002b7
2 files changed
Lines changed: 31 additions & 6 deletions
File tree
- .agents/docs
- modules/toolchain-model/src
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1119 | 1135 | | |
1120 | 1136 | | |
1121 | 1137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
585 | 594 | | |
586 | 595 | | |
587 | 596 | | |
| |||
0 commit comments