# refactor\(web\): single-source the Ghostty pin through embedded build info · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/3dc5604c0d1ce1a0693f82119c862e6f14226b4a)

Repository: [stienswout/t3code](https://git.cafe/stienswout/t3code)

Visibility: public

Requested revision: 3dc5604c0d1ce1a0693f82119c862e6f14226b4a

Requested commit: 3dc5604c0d1ce1a0693f82119c862e6f14226b4a

Commit: 3dc5604c0d1ce1a0693f82119c862e6f14226b4a

Tree: 677ee9a1c65b28a8ce3569f9a430d0a4a5945bee

Author: Wout Stiens

Committer: Wout Stiens

## Message

```
refactor(web): single-source the Ghostty pin through embedded build info

Mobile's Vendor/libghostty-vt/VERSION (with the upstream LICENSE beside
it) is now the only copy of the upstream pin. The WASM build embeds the
pinned revision as semver build metadata via the official
-Dlib-version-string option, the web vendor directory holds only the
two artifacts, and the ABI regression test reads the revision back out
of the binary through ghostty_build_info and compares it against
mobile's VERSION — provenance travels inside the artifact instead of a
sibling file that could drift.

Rebuilt ghostty-vt.wasm reproducibly from the pinned revision
(630,932 bytes, +11 over the previous build for the metadata).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

- [ad3ec79b7795b3f8368897dde1e11dfae6cb35fb](https://git.cafe/stienswout/t3code/commit/ad3ec79b7795b3f8368897dde1e11dfae6cb35fb?format=markdown)

[Source at this commit](https://git.cafe/stienswout/t3code/tree/3dc5604c0d1ce1a0693f82119c862e6f14226b4a?format=markdown)
