Skip to content

Bump libghostty to b2c78c9 and Zig to 0.17.0 - #773

Merged
dakra merged 1 commit into
dakra:mainfrom
emil-e:bump/zig-0.17-libghostty
Oct 29, 2026
Merged

dakra merged 1 commit into
dakra:mainfrom
emil-e:bump/zig-0.17-libghostty

Conversation

@emil-e

@emil-e emil-e commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Updates libghostty to ghostty 1.4.1-dev (b2c78c9, 2026-10-29) and moves the native build to Zig 0.17.0.

Changes

  • Pin ghostty to b2c78c9bd9bc88a16d9c3769b0fb17ddde1b78b1.
  • Update build.zig/build.zig.zon, CI/release workflows, README and changelog for Zig 0.17.0.
  • Migrate removed Zig APIs (std.meta.fields, dupeZ, bufPrintZ, optimize enum names, type-info paths).
  • Port libghostty's removed kitty virtual placement iterator locally using public PageList/IncompletePlacement APIs. Ghostel deliberately does not use RenderState because it materializes the scrollback rather than rendering a window.
  • Adapt the generated Android libc file to Zig 0.17's required fields, including a non-empty cc_dir for the crt objects.

Verification

  • zig build test
  • zig build -Doptimize=ReleaseFast -Dcpu=baseline
  • 420 native tests
  • Evil and consult extension suites
  • Hypothesis render suites
  • Cross-compiles: aarch64-linux-gnu, x86_64-freebsd, x86_64-windows-gnu, aarch64-windows-gnu
  • The Android config now passes libc parsing with a stub NDK; a full Android build needs a real NDK and is covered by CI.

Update the libghostty pin to ghostty 1.4.1-dev and move the build to Zig 0.17.0. Migrate removed standard-library APIs, port the removed kitty virtual placement iterator locally, and update the CI/release toolchain and docs.

Adapt the generated Android libc file to Zig 0.17's required fields, including a non-empty cc_dir for the crtbegin/crtend objects.
@emil-e
emil-e force-pushed the bump/zig-0.17-libghostty branch from e3fa9b5 to 879de24 Compare October 29, 2026 15:40
@dakra
dakra merged commit 879de24 into dakra:main Oct 29, 2026
30 checks passed
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.

2 participants