Skip to content

fix(capi): export runtime callbacks in Windows import libraries - #2744

Merged
chaliy merged 2 commits into
mainfrom
fix/capi-runtime-windows-exports
Oct 16, 2026
Merged

chaliy merged 2 commits into
mainfrom
fix/capi-runtime-windows-exports

Conversation

@chaliy

@chaliy chaliy commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

What changed

Windows C SDK import libraries now include the runtime constructor and all five runtime-call functions. A contract test compares all 33 public header declarations, unmangled Rust exports and Windows definition entries.

Why

The runtime callbacks in #2742 were present in the DLL but missing from the definition file used to generate bashkit.lib. Windows C consumers could not link those six functions.

Before / After

Before: the new inventory regression fails with six missing symbols. After: all 33 declarations match their Rust exports and import-library definitions. The inventory test and complete Python script test suite pass; knowledge, documentation and diff checks pass. Runtime behavior and ABI version are unchanged.

Risk

Low: export manifest and packaging contract test only; no runtime implementation changes.

Checklist

  • Tests added or updated
  • Backward compatibility considered

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 0191c8f Commit Preview URL

Branch Preview URL
Oct 16 2026, 10:33 PM

@chaliy
chaliy merged commit b25edd7 into main Oct 16, 2026
22 checks passed
@chaliy
chaliy deleted the fix/capi-runtime-windows-exports branch October 16, 2026 22:54
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