diff options
| author | 2026-02-04 15:31:50 -0500 | |
|---|---|---|
| committer | 2026-02-04 15:31:50 -0500 | |
| commit | 5199401c536d0b0032c5908c55d5c0bb34b76d12 (patch) | |
| tree | 13a4cec36ebe49733197ab4a0df6ee232345c34a /build.zig | |
| parent | Port DisplayWidth (diff) | |
| download | zg-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.zig | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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); |