Skip to content

Commit 5b376e1

Browse files
unhappychoiceclaude
andcommitted
fix(deps): disable unused sysinfo features to keep glibc 2.17 builds
sysinfo 0.40's gpu feature calls libc::statx directly, which is not available in glibc 2.17 and broke the zigbuild release for Linux. Only the disk and system features are used. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 52de972 commit 5b376e1

2 files changed

Lines changed: 1 addition & 23 deletions

File tree

‎Cargo.lock‎

Lines changed: 0 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async-trait = "0.1"
4747
sha2 = "0.11"
4848
chrono = { version = "0.4", default-features = false, features = ["clock", "std", "unstable-locales"] }
4949
chrono-tz = { version = "0.10", default-features = false }
50-
sysinfo = "0.40"
50+
sysinfo = { version = "0.40", default-features = false, features = ["disk", "system"] }
5151
starship-battery = "0.12"
5252
netdev = "0.47"
5353
netstat2 = "0.11"

0 commit comments

Comments
 (0)