diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-06 13:39:00 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-06 14:24:59 -0300 |
| commit | 31706a1d1c13c26c69f67f107b72179019cbd255 (patch) | |
| tree | 9cb7ee1e529155d4a80c9409fd1104130588647e /src/CHANGELOG.md | |
| parent | 0f81de017ca7b52e951bb70f6f5f3e8c88b425e6 (diff) | |
| download | pardes-31706a1d1c13c26c69f67f107b72179019cbd255.tar.gz pardes-31706a1d1c13c26c69f67f107b72179019cbd255.zip | |
kinds #26, one static pardes: `zig build static -Dplatform=tui -Dtarget=x86_64-linux-musl` (musl's, as glibc links only dynamically; never the default, and -Dstatic gone) links the terminal binary statically with both addons compiled in, image.zig as a module and pdf.c with MuPDF, its export renamed by a -D, which Addon.zig registers at start as if loaded (/addons says builtin, Addon reload refuses one, no library is scanned), and execveat and close_range go by their syscalls, which musl has no wrappers for; macOS's way to image and PDF panes too, say a comment, building.typ, shared-libs.md and the changelog
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/CHANGELOG.md')
| -rw-r--r-- | src/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index fb47ac8e..c465032d 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +- `zig build static -Dplatform=tui -Dtarget=x86_64-linux-musl`: one + statically linked `pardes` with the image and PDF addons compiled in + (`/addons` lists them `builtin`; `Addon reload` refuses them). It + replaces `-Dstatic`, which glibc refused (it links only dynamically). - Addons in Zig: `src/kinds/addon.zig` (over the same header, nothing of the core) makes a kind's `pa_ops` from a struct of its functions, with the pane's arena as an Allocator, typed keys, a window to `put` text in, |
