Skip to content

Commit 361874d

Browse files
speak-agentclaude
andcommitted
README: note the c-abi host-strip change shipped in 2026.9.18.3
The 2026.9.18.3 release (PR #673) is the floor for any package that declares `[c-abi]` --- `openkal-musl` 0.15.0 today, anything else that comes after. The Windows host's clang would inject `_WIN32` / `_WIN64` / `__MINGW32__` / `__MINGW64__` into the preprocessor output even with `--target=` set, and the host's default wchar width is not trustworthy on freestanding. The fix (`cenv_probe::verify` hostStripMacros, freestanding wchar always emits `-fno-short-wchar`) is engine-side; older engines silently misbuild `[c-abi]` packages without it. Pin the upgrade note so a reader landing on the README from a search knows why the bump is required. Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 7788d3e commit 361874d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
<img src="https://github.com/user-attachments/assets/6c85896e-9a37-4f62-acfb-d37a4eae2363" alt="mcpp demo" width="720">
1919
</p>
2020

21+
> **Note (2026.9.18.3):** this release adds `cenv_probe::verify` host-macro
22+
> stripping for the Windows host and forces `-fno-short-wchar` on freestanding
23+
> wchar realisation. `[c-abi]` packages (`openkal-musl` 0.15.0 and any future
24+
> C-library package) require this engine. Older engines silently misbuild them:
25+
> the c-abi probe sees host contamination (`_WIN32`, `__MINGW32__`,
26+
> `__MINGW64__`, `_WIN64`) on Windows and reads the wrong `__SIZEOF_WCHAR_T__`
27+
> on a freestanding target. Upgrade: `xlings install mcpp --force`.
28+
2129
## Highlights
2230

2331
- **Modular build system** — C++ modules first: `import std` handled automatically, file-level incremental builds, automatic dependency analysis, nothing to configure

0 commit comments

Comments
 (0)