Skip to content

Commit 2cdf8f1

Browse files
feat: sync with upstream to 2.8
1 parent cb7e306 commit 2cdf8f1

File tree

16 files changed

+152
-937
lines changed

16 files changed

+152
-937
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# SPDX-FileCopyrightText: Yorhel <[email protected]>
22
# SPDX-License-Identifier: MIT
33

4+
2.8 - 2025-03-05
5+
- Now requires Zig 0.14
6+
- Add support for @-prefixed lines to ignore errors in config file
7+
- List all supported options in `--help`
8+
- Use `kB` instead of `KB` in `--si` mode
9+
410
2.7 - 2024-11-19
511
- Still requires Zig 0.12 or 0.13
612
- Support transparent reading/writing of zstandard-compressed JSON

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ C version (1.x).
2020

2121
## Requirements
2222

23-
- Zig 0.12 or 0.13.
23+
- Zig 0.14
2424
- Some sort of POSIX-like OS
2525
- ncurses
2626
- libzstd

build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ pub fn build(b: *std.Build) void {
2222
exe.pie = pie;
2323
exe.root_module.linkSystemLibrary("ncursesw", .{});
2424
exe.root_module.linkSystemLibrary("libzstd", .{});
25-
// https://github.com/ziglang/zig/blob/b52be973dfb7d1408218b8e75800a2da3dc69108/build.zig#L551-L554
26-
if (target.result.isDarwin()) {
25+
// https://github.com/ziglang/zig/blob/faccd79ca5debbe22fe168193b8de54393257604/build.zig#L745-L748
26+
if (target.result.os.tag.isDarwin()) {
2727
// useful for package maintainers
2828
exe.headerpad_max_install_names = true;
2929
}

0 commit comments

Comments
 (0)