mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #439] [MERGED] Upgrade to Zig 0.15.2 #538
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#538
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/439
Author: @remorses
Created: 12/23/2025
Status: ✅ Merged
Merged: 1/6/2026
Merged by: @kommander
Base:
main← Head:zig15📝 Commits (10+)
e8fc818upgrade to zig 0.15.2 with ghostty-vt dependencyfda777bfix(ci): update zig to 0.15.2 and skip macOS cross-compilation from Linux0828eb1fix: add macOS SDK for cross-compilation from Linuxfc7907efix: add explicit refs to git URLs in build.zig.zonc24c7b0fix: correct hash for macos_sdk dependencyf6976e8fix: use raw macOS SDK tarball instead of outdated zig packaged4d4b44fix(ci): only build lib, not native binaries for all platforms486901bfix(ci): use macos-latest runners for cross-compilationb3d1e91fix: build only native platform by default, add --all for all platforms6654359fix: remove reference to non-existent ghostty-terminal.zig test file📊 Changes
46 files changed (+2221 additions, -3057 deletions)
View changed files
📝
.github/workflows/build-core.yml(+2 -2)📝
.github/workflows/build-native.yml(+5 -2)📝
.github/workflows/build-react.yml(+1 -1)📝
.github/workflows/build-solid.yml(+1 -1)📝
.github/workflows/npm-release.yml(+8 -3)📝
.zig-version(+1 -1)📝
packages/core/scripts/build.ts(+15 -19)📝
packages/core/src/renderables/Code.test.ts(+12 -2)📝
packages/core/src/tests/wrap-resize-perf.test.ts(+7 -6)📝
packages/core/src/zig/ansi.zig(+10 -7)📝
packages/core/src/zig/bench-utils.zig(+122 -18)📝
packages/core/src/zig/bench.zig(+14 -7)📝
packages/core/src/zig/bench/buffer-draw-text-buffer_bench.zig(+211 -373)📝
packages/core/src/zig/bench/edit-buffer_bench.zig(+128 -219)📝
packages/core/src/zig/bench/rope-markers_bench.zig(+222 -387)📝
packages/core/src/zig/bench/rope_bench.zig(+165 -299)📝
packages/core/src/zig/bench/styled-text_bench.zig(+103 -172)📝
packages/core/src/zig/bench/text-buffer-coords_bench.zig(+112 -183)📝
packages/core/src/zig/bench/text-buffer-view_bench.zig(+83 -158)📝
packages/core/src/zig/bench/text-chunk-graphemes_bench.zig(+22 -43)...and 26 more files
📄 Description
Changes
createModule,standardOptimizeOption, etc.)-gnusuffix for Linux targets to fix PIC linker errors when cross-compilingcallconv(.C)→callconv(.c)std.ArrayList→std.ArrayListUnmanagedwith explicit allocatorTesting
Cross-compiled Linux binaries (both x64 and arm64) were tested inside an OrbStack Linux VM. The full rendering pipeline works correctly - created a test that renders a multi-panel layout with boxes, text, and different border styles (rounded, single, double). The TUI output renders properly and the renderer starts/stops cleanly with exit code 0.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.