Skip to content

Commit

Permalink
Update build.zig to latest zig
Browse files Browse the repository at this point in the history
zig version 0.12.0-dev.2236+32e88251e
  • Loading branch information
joachimschmidt557 committed Jan 17, 2024
1 parent 0989cdd commit ed0f6c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
@@ -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(.{
Expand Down

0 comments on commit ed0f6c2

Please sign in to comment.