Skip to content

The stc test harness speaks the corpus's i64 where the C header says long (D156; the Windows c_export signature mismatch) - #2607

Merged
ehartford merged 1 commit into
mainfrom
stc-harness-i64
Oct 24, 2026
Merged

ehartford merged 1 commit into
mainfrom
stc-harness-i64

Conversation

@ehartford

@ehartford ehartford commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

The stc test harness (test/corpora/stc_harness/harness.w) exported assert_compare/assert_interval with c_long parameters. Since #2601 re-promoted the stc test programs under D156, the migrated declaration spells the corpus's LP64 width i64 on every host; on Windows c_long is i32, so the @[c_export] signature no longer matched the declaration C calls through (win10 rung leg: parameter 3 differs). The harness now speaks the corpus's i64, as std.zlib speaks its u64 (#2597).

Found on the windows-x86_64 rung leg; the same fix is on the rung (f5443ba).

Battery: GREEN on d0b3442 (seed nightly-20261024-local-1-c1ea1de114eb).

…long (D156: the corpus is LP64 on every host; on Windows c_long is i32 and the c_export signature no longer matched the migrated declaration)
@ehartford
ehartford marked this pull request as ready for review October 24, 2026 17:24
@ehartford
ehartford merged commit c626fc6 into main Oct 24, 2026
@ehartford
ehartford deleted the stc-harness-i64 branch October 24, 2026 17:24
ehartford added a commit that referenced this pull request Oct 24, 2026
…eds (nightly-20261024-local-2-6138da7f1565, nightly-20261024-local-2-f5443bac4111) (#2608)

Main has not built on either host since #2599 (compiler sources spell c_char; the local-2 bridge seeds have no such builtin): eric-5090 :dev on 91eebb3 fails with `unknown type c_char`. The rung seed-bridge-20261024 (the 20261023 bridge plus the D155 builtins, std/rt c_char, the D156 migrator, the re-promoted corpora and test programs, main's seed.lock and the #2597/#2607 seams) was cut on eric-5090 (rung 6138da7, release-checks green, ~/seed-leg-logs/nightly-20261024-local-2-6138da7f1565) and win10 (rung f5443ba, legrung3 green, asset published from the laptop). Main-based seeds follow this pin. Workflow pins rewritten by tools/bump_seed_pins.w.

Co-authored-by: Eric Hartford <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant