summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGravatar Sam Atman2026-02-04 15:31:50 -0500
committerGravatar Sam Atman2026-02-04 15:31:50 -0500
commit5199401c536d0b0032c5908c55d5c0bb34b76d12 (patch)
tree13a4cec36ebe49733197ab4a0df6ee232345c34a /build.zig
parentPort DisplayWidth (diff)
downloadzg-5199401c536d0b0032c5908c55d5c0bb34b76d12.tar.gz
zg-5199401c536d0b0032c5908c55d5c0bb34b76d12.tar.xz
zg-5199401c536d0b0032c5908c55d5c0bb34b76d12.zip
Convert Words module to no-allocation
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 0e3d5aa..1ae7005 100644
--- a/build.zig
+++ b/build.zig
@@ -64,7 +64,7 @@ pub fn build(b: *std.Build) void {
64 }); 64 });
65 wbp_gen_exe.root_module.addAnonymousImport("WordBreakProperty.txt", .{ .root_source_file = b.path("data/unicode/auxiliary/WordBreakProperty.txt") }); 65 wbp_gen_exe.root_module.addAnonymousImport("WordBreakProperty.txt", .{ .root_source_file = b.path("data/unicode/auxiliary/WordBreakProperty.txt") });
66 const run_wbp_gen_exe = b.addRunArtifact(wbp_gen_exe); 66 const run_wbp_gen_exe = b.addRunArtifact(wbp_gen_exe);
67 const wbp_gen_out = run_wbp_gen_exe.addOutputFileArg("wbp.bin.z"); 67 const wbp_gen_out = run_wbp_gen_exe.addOutputFileArg("wbp.zig");
68 68
69 const dwp_gen_exe = b.addExecutable(.{ 69 const dwp_gen_exe = b.addExecutable(.{
70 .name = "dwp", 70 .name = "dwp",
@@ -517,6 +517,7 @@ pub fn build(b: *std.Build) void {
517 const test_unicode_step = b.step("unicode", "Rune unicode tests"); 517 const test_unicode_step = b.step("unicode", "Rune unicode tests");
518 test_unicode_step.dependOn(&run_unicode_tests.step); 518 test_unicode_step.dependOn(&run_unicode_tests.step);
519 test_unicode_step.dependOn(&display_width_tr.step); 519 test_unicode_step.dependOn(&display_width_tr.step);
520 test_unicode_step.dependOn(&words_tr.step);
520 521
521 const test_step = b.step("test", "Run all module tests"); 522 const test_step = b.step("test", "Run all module tests");
522 test_step.dependOn(&run_unicode_tests.step); 523 test_step.dependOn(&run_unicode_tests.step);