mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-08-03 03:13:05 -04:00
Zig 0.17 removes @cImport in favor of translate-c steps in the build system. Each library's link function now creates an addTranslateC step exposed as a module import: curl and isocline translate their headers straight from the dependency tree, while sqlite3 uses the artifact's emitted include tree since the amalgamation lives in a sub-dependency. Terminal.zig and prompt_assist.zig previously instantiated two independent @cImport namespaces for isocline; they now share one translated module, so its types are identical across both files.