From a9b7eb1556497e4d7273746b5a9e00e305f11ab5 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 14 Sep 2026 08:49:43 +0700 Subject: [PATCH] The survey landed, and neither census comment states a number any more --- docs/handoffs/HANDOFF-cimport-ptr.md | 21 ++++++++++----------- lib/cimport.ml | 6 ++++-- vendor/raylib/headers | 8 +++++--- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/docs/handoffs/HANDOFF-cimport-ptr.md b/docs/handoffs/HANDOFF-cimport-ptr.md index dd82e90..ac32f35 100644 --- a/docs/handoffs/HANDOFF-cimport-ptr.md +++ b/docs/handoffs/HANDOFF-cimport-ptr.md @@ -61,10 +61,10 @@ rewritten comment at the head of `diff_bound` now says so. ## The comment at `lib/cimport.ml:1291` Rewritten from a promise into a description. The count it carried — "176 `declare-c` -lines", against a real 196 — is gone rather than corrected, and the comment says why a -census written beside a growing file is not a thing to maintain. `vendor/raylib/headers` -carried the same rot ("425 declarations … 172 hand-written", really 463 and 196) and got -the same treatment. +lines", twenty short on the day it was read — is gone rather than corrected, and both +comments now name the `grep` that answers the question instead of recording an answer that +goes stale. `vendor/raylib/headers` carried the same rot, "425 declarations … 172 +hand-written", and got the same treatment. Neither file states a number any more. ## Then it was used @@ -124,13 +124,12 @@ actually about is a **pointer reinterpretation**, which is not a checker arm. `defstruct`, every hand-written `declare-c` and every mapped constant against `raylib-5.5.h` and refuses to write when they disagree. - `bash web/examples/check.sh` green. -- `spike/x86/survey.sh` was started detached on the finished tree and had not reported - when this session ended — it builds and runs 103 programs twice each and the `dev-*` - half of them hold daemons open. Nothing this change touches is below the IR: it is the - C-header importer, two raylib bindings, two examples and their tests, and no lowering - rule moved. The one surveyed program that changed is - `test/programs/raylib-codepoints.flan`, which passes on the LLVM path in `dune test`. - **Re-run it and confirm 103 MATCH / 0 DIFFER / 0 REFUSED before trusting this line.** +- `spike/x86/survey.sh` on the finished tree: **103 MATCH, 0 DIFFER, 0 REFUSED** (38 skip + — 28 that do not compile on purpose, 8 with no main, 2 that run forever). Expected + rather than surprising: nothing here is below the IR, and the one surveyed program that + changed is `test/programs/raylib-codepoints.flan`. Run it detached — `setsid timeout + 2400 spike/x86/survey.sh > log 2>&1