phase29z(p0): minimal RC insertion overwrite release
This commit is contained in:
@ -2,6 +2,12 @@
|
||||
|
||||
## Current Focus: Phase 29z P0(RC insertion minimal)
|
||||
|
||||
**2025-12-27: Phase 29z P0 完了** ✅
|
||||
- `src/mir/passes/rc_insertion.rs`: `Store` 上書きの最小 release 挿入を実装(単一block・安全ガード)
|
||||
- 既定OFF: Cargo feature `rc-insertion-minimal`(env var 新設なし)
|
||||
- 検証: quick 154/154 PASS 維持 + `cargo run --bin rc_insertion_selfcheck --features rc-insertion-minimal`
|
||||
- 入口: `docs/development/current/main/phases/phase-29z/README.md`
|
||||
|
||||
**2025-12-27: Phase 29y P0 完了** ✅
|
||||
- docs-first SSOT finalized(ABI/RC insertion/Observability)
|
||||
- 3つのSSOT文書(10/20/30)を Ready に確定
|
||||
|
||||
@ -57,7 +57,10 @@ Related:
|
||||
- 入口: `docs/development/current/main/phases/phase-29y/README.md`
|
||||
- 次: Phase 29z(RC insertion minimal)または Phase 29x(De-Rust runtime)候補
|
||||
|
||||
- **Phase 29z(next, implementation-minimal): RC insertion minimal**
|
||||
- **Phase 29z(✅ P0 COMPLETE, implementation-minimal): RC insertion minimal**
|
||||
- 成果: `MirInstruction::Store` の上書きで `ReleaseStrong` を挿入する最小pass(単一block・安全ガード付き)
|
||||
- ガード: Cargo feature `rc-insertion-minimal`(既定OFF、env var 新設なし)
|
||||
- 検証: quick 154/154 PASS 維持 + `rc_insertion_selfcheck`(opt-in)
|
||||
- 入口: `docs/development/current/main/phases/phase-29z/README.md`
|
||||
- 指示書: `docs/development/current/main/phases/phase-29z/P0-RC_INSERTION_MINIMAL-INSTRUCTIONS.md`
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ SSOT:
|
||||
既定OFFで導入する(互換維持)。
|
||||
|
||||
推奨ガード(env var を増やさない):
|
||||
- 既存の “profile/strict” の枠に載せるか、`cfg(debug_assertions)` 限定で有効化
|
||||
- Cargo feature で opt-in(例: `--features rc-insertion-minimal`)
|
||||
- どうしてもトグルが必要なら `src/config/env` 集約& docs に登録(撤去計画つき)
|
||||
|
||||
---
|
||||
@ -59,3 +59,10 @@ cargo build --release
|
||||
- Build: 0 errors
|
||||
- quick: 154/154 PASS
|
||||
- 既定挙動不変(トグルOFFで完全に影響なし)
|
||||
|
||||
追加(opt-in の動作確認):
|
||||
|
||||
```bash
|
||||
# RC insertion minimal を有効化して、passの最小ケースが動くことを自己診断バイナリで確認
|
||||
cargo run --bin rc_insertion_selfcheck --features rc-insertion-minimal
|
||||
```
|
||||
|
||||
@ -1,9 +1,15 @@
|
||||
# Phase 29z: RC insertion minimal(Phase 29y follow-up)
|
||||
|
||||
Status: Draft
|
||||
Status: P0 Complete
|
||||
Scope: Phase 29y の SSOT(RC insertion / ABI / observability)を前提に、**RC insertion pass を最小動作**まで進める。
|
||||
|
||||
Entry:
|
||||
- SSOT: `docs/development/current/main/phases/phase-29y/20-RC-INSERTION-SSOT.md`
|
||||
- 指示書: `docs/development/current/main/phases/phase-29z/P0-RC_INSERTION_MINIMAL-INSTRUCTIONS.md`
|
||||
|
||||
Opt-in:
|
||||
- `rc-insertion-minimal` Cargo feature(既定OFF)
|
||||
|
||||
Verification:
|
||||
- `cargo build --release` / `./tools/smokes/v2/run.sh --profile quick`
|
||||
- `cargo run --bin rc_insertion_selfcheck --features rc-insertion-minimal`
|
||||
|
||||
Reference in New Issue
Block a user