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
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 55s
This commit is contained in:
@@ -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 },
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user