summaryrefslogtreecommitdiff
path: root/build/gui.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 14:30:31 -0300
committerGabriel Schneider <[email protected]>2026-11-17 14:33:52 -0300
commit3e77fdcd57693b337d915873e9919de2e1ec6521 (patch)
treeee27b9006f26f0b83c17a13dd13ceaa07824c244 /build/gui.zig
parent4f281f275f6e9b32b2fb5f0ebfc3e9b9338c0dce (diff)
downloadpardes-3e77fdcd57693b337d915873e9919de2e1ec6521.tar.gz
pardes-3e77fdcd57693b337d915873e9919de2e1ec6521.zip
build: typst found at make time; the deprecated build names replaced
docs.add takes typst through b.findProgramLazy: the three renders run the program found at make time, and without typst on PATH the step that renders fails ("program not found") where three addFail steps and the optional renders said so before. findProgram was the configure cache's poison; build() now poisons it itself, with the reason (the environment, the clock and vendor/ are read untracked: REORG decision 20 keeps the configure uncached). Line for a line: lazyDependency -> dependencyLazy (catch for orelse), runAllowFail -> runFallible, b.dupe -> b.graph.dupeString, .ReleaseSafe -> .safe; build.zig through zig fmt. Left: gui.zig's three lazyDependency calls (lines 62-176, which another change rewrites) and std.Build.package_map (no line-for-line replacement: dependencyLazy's error would have to reach build()). Gates: zig build -l and -h byte-identical, whole matrix and test/lib (its configuration too); the configuration gains the find-program step and the typst runs are named run typst (...) instead of by the path found, nothing else changes; --print-configuration-path still a tmp/ path, twice; zig build cheatsheet writes cheatsheet.pdf, and with PATH holding zig alone fails "program not found" while -l succeeds. Warm: install addons, core-test shell-test unit-test process-test on tui, and install addons on gui: 0 compiles not cached, binaries cmp-identical. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'build/gui.zig')
0 files changed, 0 insertions, 0 deletions