[SAOC 2026] ImportC Weekly Update #8

Niyati Jain niyati.jainn15 at gmail.com
Sat Nov 14 12:48:28 UTC 2026


With this week, Milestone 2 comes to an end.

This week I spent time around sqlite's last two blockers, some 
ImportC fixes and closing out sljit's documentation.

**sqlite** is fully unblocked now. Windows side was already fixed 
last week. On the Linux side, glibc's headers pull in `__int128` 
even with the disable flag set, but dmd doesn't support that type 
yet ([#21543](https://github.com/dlang/dmd/issues/21543)), worked 
around it with `-P=-U__SIZEOF_INT128__`. Also swapped SEH for 
`SQLITE_OMIT_SEH`, sqlite's own fallback, and checked that it's 
actually equivalent: same amalgamation, built through ImportC vs 
a real `cl.exe`/SEH build, byte-identical output and same query 
results.

Two more small fixes done this week include 
[#24231](https://github.com/dlang/dmd/pull/24231) 
(`__alignof__`/`__const__` weren't recognized) and 
[#24232](https://github.com/dlang/dmd/pull/24232) (`typeof(func)` 
was resolving to a variable instead of a function).

**sljit** stays Windows-only, with Linux's cpuid-via-GNU-asm 
thing confirmed it being a upstream limitation so I documented it.

zlib and curl were already working since Milestone 1, so just 
re-verified against the real MSVC headers in this round, that 
turned out to be both clean.

Onto Milestone 3 next, macro translation for curl and SDL.

Thanks to Nicholas for the guidance.

Any feedback or suggestion is highly welcomed.

Best,
Niyati


More information about the Digitalmars-d mailing list