Skip to content

Commit

Permalink
Workaround sysinfo build on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
wks committed Nov 26, 2024
1 parent 5344a0b commit 491a196
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ is-terminal = "0.4.7"
itertools = "0.12.0"
jemalloc-sys = { version = "0.5.3", features = ["disable_initial_exec_tls"], optional = true }
lazy_static = "1.1"
libc = "0.2"
# libc 0.2.165 introduced an API-breaking change that breaks the `sysinfo` crate on MacOS.
# We temporarily pin the version of libc until the issue is resolved.
# See: https://github.com/GuillaumeGomez/sysinfo/issues/1392
libc = "=0.2.164"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_off"] }
memoffset = "0.9"
mimalloc-sys = { version = "0.1.6", optional = true }
Expand Down

0 comments on commit 491a196

Please sign in to comment.