From 9f5744b72bd1f1c1bd8ff0a962bee5a73cffb0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=9A=D1=80=D0=B0?= =?UTF-8?q?=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9?= <75577902+AndrewKraevskii@users.noreply.github.com> Date: Thu, 19 Dec 2024 01:23:48 +0300 Subject: [PATCH] Use b.graph.host instead of b.host b.host was deprecated in 0.13.0 and removed in https://github.com/ziglang/zig/pull/20388 --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index edd047a..12c33fd 100644 --- a/build.zig +++ b/build.zig @@ -35,7 +35,7 @@ pub fn build(b: *std.Build) void { // any Emscripten header search path shenanigans const translateC = b.addTranslateC(.{ .root_source_file = b.path("src/cimgui.h"), - .target = b.host, + .target = b.graph.host, .optimize = optimize, });