diff options
| author | 2025-05-23 19:01:57 -0400 | |
|---|---|---|
| committer | 2025-05-23 19:01:57 -0400 | |
| commit | f4a174e27052e38aec09840e9195981cc2f24c88 (patch) | |
| tree | 3214263c7df7a890265406f6cc80b178d52aa698 /build.zig | |
| parent | Make offset size configurable (diff) | |
| download | zg-f4a174e27052e38aec09840e9195981cc2f24c88.tar.gz zg-f4a174e27052e38aec09840e9195981cc2f24c88.tar.xz zg-f4a174e27052e38aec09840e9195981cc2f24c88.zip | |
Document "fat_offset" in README
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -14,7 +14,7 @@ pub fn build(b: *std.Build) void { | |||
| 14 | //| Options | 14 | //| Options |
| 15 | 15 | ||
| 16 | // Display width | 16 | // Display width |
| 17 | const cjk = b.option(bool, "cjk", "Ambiguous code points are wide (display width: 2).") orelse false; | 17 | const cjk = b.option(bool, "cjk", "Ambiguous code points are wide (display width: 2)") orelse false; |
| 18 | const dwp_options = b.addOptions(); | 18 | const dwp_options = b.addOptions(); |
| 19 | dwp_options.addOption(bool, "cjk", cjk); | 19 | dwp_options.addOption(bool, "cjk", cjk); |
| 20 | 20 | ||
| @@ -33,7 +33,7 @@ pub fn build(b: *std.Build) void { | |||
| 33 | dwp_options.addOption(?i4, "c1_width", c1_width); | 33 | dwp_options.addOption(?i4, "c1_width", c1_width); |
| 34 | 34 | ||
| 35 | //| Offset size | 35 | //| Offset size |
| 36 | const fat_offset = b.option(bool, "fat_offset", "Offsets in Iterators and data structures will be u64") orelse false; | 36 | const fat_offset = b.option(bool, "fat_offset", "Offsets in iterators and data structures will be u64") orelse false; |
| 37 | const size_config = b.addOptions(); | 37 | const size_config = b.addOptions(); |
| 38 | size_config.addOption(bool, "fat_offset", fat_offset); | 38 | size_config.addOption(bool, "fat_offset", fat_offset); |
| 39 | 39 | ||