From 718f8af70c31a4f826ea442ba7b7b0fe4c106d5b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 17 Nov 2026 12:26:18 -0300 Subject: debugger: build its host against sketchbook's sketch(App, Build) sketchbook's sketch() also takes what the build knows of the app now: the source revision, and whether its save keeps a history of sessions. The debugger has its own main, so it passes the defaults: no revision and no history. Its save keeps the present only, as the old state file did. Verified zig build test -Doptimize=ReleaseFast in gui: 85/85 steps, 4/4 tests, the four scripted GUI checks passed headless. A Debug build fails adaptive.py at 800x700 and 200%, in canim's rows.chain: a clamp whose lower bound is above its upper. That bug does not come from the library. --- gui/src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/src/main.zig') diff --git a/gui/src/main.zig b/gui/src/main.zig index 91a2ddf..8b8a72f 100644 --- a/gui/src/main.zig +++ b/gui/src/main.zig @@ -5,5 +5,5 @@ pub fn main(init: std.process.Init) !void { app.io = init.io; app.gpa = init.gpa; defer app.close(); - try @import("host").main(init, @import("sketch").sketch(app)); + try @import("host").main(init, @import("sketch").sketch(app, .{})); } -- cgit v1.3