chor: upgrade to latest zig; remove zg dependency
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 55s

This commit is contained in:
2025-09-29 23:09:42 +02:00
parent f256a79da0
commit cba07b119c
9 changed files with 108 additions and 68 deletions

View File

@@ -35,19 +35,12 @@ pub fn build(b: *std.Build) void {
options.addOption(bool, "debug", debug_rendering);
const options_module = options.createModule();
// dependencies
const zg = b.dependency("zg", .{
.target = target,
.optimize = optimize,
});
// library
const lib = b.addModule("zterm", .{
.root_source_file = b.path("src/root.zig"),
.target = target,
.optimize = optimize,
.imports = &.{
.{ .name = "code_point", .module = zg.module("code_point") },
.{ .name = "build_options", .module = options_module },
},
});
@@ -100,8 +93,6 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
.imports = &.{
.{ .name = "code_point", .module = zg.module("code_point") },
.{ .name = "DisplayWidth", .module = zg.module("DisplayWidth") },
.{ .name = "build_options", .module = options_module },
},
}),