From ed0f6c223539c187ba1b54c5cf0cc3b11104188f Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Wed, 17 Jan 2024 21:37:50 +0100 Subject: [PATCH] Update build.zig to latest zig zig version 0.12.0-dev.2236+32e88251e --- build.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.zig b/build.zig index 5161ac1..cb05e69 100644 --- a/build.zig +++ b/build.zig @@ -1,11 +1,11 @@ -const Builder = @import("std").build.Builder; +const Build = @import("std").Build; -pub fn build(b: *Builder) void { +pub fn build(b: *Build) void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); _ = b.addModule("ansi-term", .{ - .source_file = .{ .path = "src/main.zig" }, + .root_source_file = .{ .path = "src/main.zig" }, }); var main_tests = b.addTest(.{