File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Zig Fuzz
22
33This Zig module functions for fuzzy string matching, comparison, and flexible sorting of strings.
4+ Works with zig ` 0.14.0 ` , ` 0.14.1 ` and ` 0.15.1 ` .
45
56## Features
67
Original file line number Diff line number Diff line change @@ -7,18 +7,14 @@ pub fn build(b: *std.Build) void {
77 const fuzzy_module = b .addModule ("fuzzy" , .{
88 .root_source_file = b .path ("src/root.zig" ),
99 .single_threaded = true ,
10+ .optimize = optimize ,
11+ .target = target ,
1012 });
1113
1214 const options = b .addOptions ();
1315 fuzzy_module .addOptions ("build" , options );
1416
15- const lib_unit_tests = b .addTest (.{
16- .root_module = b .addModule (.{
17- .root_source_file = b .path ("src/root.zig" ),
18- .target = target ,
19- .optimize = optimize ,
20- }),
21- });
17+ const lib_unit_tests = b .addTest (.{ .root_module = fuzzy_module });
2218
2319 const run_lib_unit_tests = b .addRunArtifact (lib_unit_tests );
2420
Original file line number Diff line number Diff line change 11.{
22 .name = .fuzzy ,
3- .version = "0.1.0 " ,
3+ .version = "0.1.1 " ,
44 .fingerprint = 0x29de903cd928751a ,
5+ .minimum_zig_version = "0.14.0" ,
56 .paths = .{
67 "build.zig" ,
78 "build.zig.zon" ,
You can’t perform that action at this time.
0 commit comments