This commit is contained in:
Jacob Jonsson 2025-11-28 23:04:53 +01:00
parent 6efdd9e027
commit 59293d1690
Signed by: Jassob
GPG key ID: 7E30B9B047F7202E
5 changed files with 232 additions and 58 deletions

View file

@ -83,6 +83,14 @@ pub fn build(b: *std.Build) void {
}),
});
const zircon = b.dependency("zircon", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("zircon", zircon.module("zircon"));
exe.linkLibC();
// This declares intent for the executable to be installed into the
// install prefix when running `zig build` (i.e. when executing the default
// step). By default the install prefix is `zig-out/` but can be overridden