Phase 3: owner decisions on RFC 0012 implementation

- spec 04 §40: mutex<T> always linear, never copyable; mutex.take is the
  only way to dismantle it and needs no live borrow (hence no guard and
  no waiter); no unlock or destructor
- P3-10 (async buffer claims, E4303) moved to P7-10 with task-aware
  I/O; E4303 stays reserved; Phase 3 scope closed
- RFC 0012 erratum: consumption after send is E2002, use is E2001
- tests: take while borrowed (E2101), use after take (E3001)
This commit is contained in:
dev committed 2026-10-04 16:57:59 +03:00
1 parent aaf32b6853
commit 929132c81d
8 files changed
+50 -8

No files matched your search

+1
View File
@@ -22,4 +22,5 @@ Non-normative. Part of the [implementation plan](README.md).
| P7-6 | todo | FFI (`extern "C"`), `@repr(C)`, `@align`, packed fields | P7-3 | backend | E6101 accept/reject; ABI tests against C |
| P7-7 | todo | Targets: Linux aarch64, macOS aarch64 | P7-5 | CI matrix | corpus passes on all three targets |
| P7-8 | todo | Parity runner: interpreter vs native on the full corpus | P7-5 | `zig build parity` | identical stdout and trap records |
| P7-10 | todo | Task-aware I/O (`io.read_start`, `io.write_start`, `io.wait`) and async buffer claims: buffer state `available → IN_FLIGHT → available`; access while `IN_FLIGHT` is `E4303` (moved from P3-10; needs an RFC) | P7-5 | RFC, verifier + runtime | E4303 accept/reject; deterministic completion order |
| P7-9 | todo | Phase exit review | all | plan status | exit criterion passes |