Skip to content

Build libghostty-vt for baseline CPUs - #7

Merged
jph00 merged 1 commit into
AnswerDotAI:mainfrom
shuane:fix-rpi
Sep 9, 2026
Merged

Build libghostty-vt for baseline CPUs#7
jph00 merged 1 commit into
AnswerDotAI:mainfrom
shuane:fix-rpi

Conversation

@shuane

@shuane shuane commented Aug 26, 2026

Copy link
Copy Markdown

To avoid over-optimizing for the build machine and to support more machines (such as Raspberry Pi 5), we need to set the cpu flag to baseline in the zig build.

This follows Ghostty's guidance for distributable builds and avoids build-machine CPU assumptions on every platform.

Verified on a Raspberry Pi 5: the previously crashing Terminal(80, 24) constructor succeeds, and the unchanged existing test suite passes (9 passed).

Fixes #6

Cc: @jph00

To avoid over-optimizing for the build machine and to support
more machines (such as Raspberry Pi 5), we need to set the cpu
flag to baseline in the zig build.

Fixes AnswerDotAI#6
@jph00
jph00 merged commit 18b635e into AnswerDotAI:main Sep 9, 2026
@jph00

jph00 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Many thanks! :)

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.

AArch64 wheel crashes on Raspberry Pi 5

2 participants