From 533c38bd09912e14d5b43eefa2f96ffbde6da2bd Mon Sep 17 00:00:00 2001 From: t Date: Thu, 15 Oct 2026 14:51:30 -0500 Subject: [PATCH 1/2] Zig 0.17 minimum_zig_version is 0.17.0, and `b.args` is now `run.addPassthruArgs()`. Built by fizzy's check-examples.sh against fizzy's zig/0.17 branch, which swaps every fizzy and SDK pin for its own tree; the pins here move when fizzy's 0.17 SDK is released. Co-Authored-By: Claude Opus 5.5 --- build.zig | 6 +++--- build.zig.zon | 2 +- plugins/shader/build.zig.zon | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.zig b/build.zig index 1f9f1ff..4ada8ff 100644 --- a/build.zig +++ b/build.zig @@ -68,7 +68,7 @@ pub fn build(b: *std.Build) !void { const run_fizzy = b.addRunArtifact(exe); run_fizzy.step.dependOn(b.getInstallStep()); - if (b.args) |args| run_fizzy.addArgs(args); + run_fizzy.addPassthruArgs(); b.step("run-fizzy", "Run the fizzy app in the shape -Dshape picks").dependOn(&run_fizzy.step); // A plain dvui app with tape playback: dvui as any app has it (the SDK pins it, the app picks @@ -92,7 +92,7 @@ pub fn build(b: *std.Build) !void { b.step("replay", "Build the replay app").dependOn(&install_replay.step); const run_replay = b.addRunArtifact(replay_exe); run_replay.step.dependOn(&install_replay.step); - if (b.args) |args| run_replay.addArgs(args); + run_replay.addPassthruArgs(); b.step("run-replay", "Run the replay app: a plain dvui app with tape playback").dependOn(&run_replay.step); // A plain dvui app on fizzy's backend (`dvui/main.zig`): dvui and the backend from fizzy, its @@ -111,6 +111,6 @@ pub fn build(b: *std.Build) !void { b.step("dvui", "Build the dvui app").dependOn(&install_dvui.step); const run_dvui = b.addRunArtifact(dvui_exe); run_dvui.step.dependOn(&install_dvui.step); - if (b.args) |args| run_dvui.addArgs(args); + run_dvui.addPassthruArgs(); b.step("run-dvui", "Run a plain dvui app on fizzy's backend, its dvui.osWindows OS windows").dependOn(&run_dvui.step); } diff --git a/build.zig.zon b/build.zig.zon index 91e1f87..9205bef 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -2,7 +2,7 @@ .name = .fizzy_example_app, .version = "0.1.0", .fingerprint = 0x70a7611209421df7, - .minimum_zig_version = "0.16.0", + .minimum_zig_version = "0.17.0", .dependencies = .{ // Fizzy, the whole repo: an app builds on its framework, not only the plugin SDK. Pinned // by commit; fizzy's CI builds this repo against each of its pull requests, so a change diff --git a/plugins/shader/build.zig.zon b/plugins/shader/build.zig.zon index b52e666..31116d7 100644 --- a/plugins/shader/build.zig.zon +++ b/plugins/shader/build.zig.zon @@ -1,7 +1,7 @@ .{ .name = .shader, .version = "0.1.0", - .minimum_zig_version = "0.16.0", + .minimum_zig_version = "0.17.0", .paths = .{ "build.zig", "build.zig.zon", "plugin.zig", "plugin.zig.zon", "metaballs.glsl" }, .fingerprint = 0xfff39e28b2ebba24, .dependencies = .{ From 205018b055632d8d8d6acad94c0a37953cb65985 Mon Sep 17 00:00:00 2001 From: foxnne Date: Sun, 18 Oct 2026 14:38:14 -0500 Subject: [PATCH 2/2] Build on fizzy's Zig 0.17 switch and SDK 0.2.30 fizzy pins its Zig 0.17 switch (fizzyedit/fizzy#575), fizzy_sdk and the shader plugin pin sdk-v0.2.30, hello pins example-plugin's main on 0.17 (fizzyedit/example-plugin#13), and the workflow builds with Zig 0.17.0. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 2 +- build.zig.zon | 12 ++++++------ plugins/shader/build.zig.zon | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4e14be..5853dd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: mlugg/setup-zig@v2 with: - version: "0.16.0" + version: "0.17.0" - name: Build every shape run: | for shape in minimal studio endless; do diff --git a/build.zig.zon b/build.zig.zon index 9205bef..11b204e 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -8,22 +8,22 @@ // by commit; fizzy's CI builds this repo against each of its pull requests, so a change // there that breaks an outside app fails before it lands. .fizzy = .{ - .url = "https://github.com/fizzyedit/fizzy/archive/75fd7f0ed1440432893238f75664e9680a56a123.tar.gz", - .hash = "fizzy-0.2.0-c46aVj4MkABq503RNbfyqugEU7A-BkJreTBFDhNbl6uF", + .url = "git+https://github.com/fizzyedit/fizzy#44ff62a7f757dbeca68bcc63df10967f12867f09", + .hash = "fizzy-0.2.0-c46aVk04ogAB94dagVVhnnXC7aQkakA2xI8itTEu3u2G", }, // The plugins this app bundles beyond fizzy's own: fizzyedit/example-plugin, as any // plugin from its own repo, and this app's own, which also builds alone as a dylib // (`cd plugins/shader && zig build`). .hello = .{ - .url = "https://github.com/fizzyedit/example-plugin/archive/838041afce45.tar.gz", - .hash = "hello-0.1.0-c1Gg4rQXAAA7Ea4vZqD4jAS7eLtXJW3QglYM4HB-17Lw", + .url = "git+https://github.com/fizzyedit/example-plugin#592a7386f3a27e20df53dff9b1e2f854ffad7a7b", + .hash = "hello-0.1.0-c1Gg4roXAABn7yCeQrlZVv3QJ7mAHsii6gFe1E6R2H7r", }, .shader = .{ .path = "plugins/shader" }, // The plugin SDK alone, for the replay app: its pinned dvui and `tape` / `replay`, with // nothing of fizzy the app. .fizzy_sdk = .{ - .url = "https://github.com/fizzyedit/fizzy/releases/download/sdk-v0.2.20/fizzy-sdk-v0.2.20.tar.gz", - .hash = "fizzy-0.2.20-SGBwY7BcIQAqHKHzaj0vwADkUQNdpiap19SmKZ29Rp0W", + .url = "https://github.com/fizzyedit/fizzy/releases/download/sdk-v0.2.30/fizzy-sdk-v0.2.30.tar.gz", + .hash = "fizzy-0.2.30-SGBwY1QnJwDznUMVnSLATxXgH2e8_Vz7eMwLj9UQ0sVU", }, }, .paths = .{ "build.zig", "build.zig.zon", "shapes", "plugins", "replay", "dvui", "README.md", "LICENSE" }, diff --git a/plugins/shader/build.zig.zon b/plugins/shader/build.zig.zon index 31116d7..c066721 100644 --- a/plugins/shader/build.zig.zon +++ b/plugins/shader/build.zig.zon @@ -7,8 +7,8 @@ .dependencies = .{ .fizzy = .{ // The published SDK: a plugin builds from a clean clone of its own repo. - .url = "https://github.com/fizzyedit/fizzy/releases/download/sdk-v0.2.18/fizzy-sdk-v0.2.18.tar.gz", - .hash = "fizzy-0.2.18-SGBwYzTcHgB679qozyk1xNBTyrOQYoKUNI5lvEX5_v6a", + .url = "https://github.com/fizzyedit/fizzy/releases/download/sdk-v0.2.30/fizzy-sdk-v0.2.30.tar.gz", + .hash = "fizzy-0.2.30-SGBwY1QnJwDznUMVnSLATxXgH2e8_Vz7eMwLj9UQ0sVU", }, }, }