@ondeinference / onde / commits / 6051fd1

Fix sysctl-rs deps

Seto Elkahfi committed Aug 11, 2026 at 18:19 UTC 6051fd1abe769939213c96883f255ee5ced5948e
2 files changed +8 -8
Cargo.lock
+1 -7
@@ -5801,8 +5801,7 @@ dependencies = [
5801 [[package]]
5802 name = "sysctl"
5803 version = "0.6.0"
5804 -source = "registry+https://github.com/rust-lang/crates.io-index"
5805 -checksum = "01198a2debb237c62b6826ec7081082d951f46dbb64b0e8c7649a452230d1dfc"
5804 +source = "git+https://github.com/setoelkahfi/sysctl-rs.git?branch=feature%2Fwatchos-0.6#e4036230bbde48ec1cc425803c8fda41012b73e2"
5805 dependencies = [
5806 "bitflags 2.13.1",
5807 "byteorder",
@@ -7613,8 +7612,3 @@ checksum = "27bc9d5b815bc103f142aa054f561d9187d191692ec7c2d1e2b4737f8dbd7296"
7612 dependencies = [
7613 "zune-core",
7614 ]
7616 -
7617 -[[patch.unused]]
7618 -name = "sysctl"
7619 -version = "0.7.1"
7620 -source = "git+https://github.com/setoelkahfi/sysctl-rs.git?branch=feature%2Fwatchos#f0be2fcf0c2dcda8f637f3aa0a057f10211a9133"
Cargo.toml
+7 -1
@@ -115,8 +115,14 @@ uniffi = { version = "=0.31.0", features = ["build"] }
115 # PR: https://github.com/johalun/sysctl-rs/pull/74
116 # NOTE: [patch.crates-io] is ignored by crates.io consumers — safe to keep.
117 #
118 +# The branch is cut from sysctl v0.6.0, not the fork's master (0.7.1), because
119 +# our only consumer is gemm-common, which requires sysctl "0.6". A patch whose
120 +# version is semver-incompatible with the requirement in the graph is silently
121 +# dropped — cargo just logs "patch was not used in the crate graph" and builds
122 +# the unpatched registry crate, which is how the watchOS check kept failing.
123 +#
124 # mio no longer needs patching: onde-mistralrs-core 0.9.3 depends on onde-tqdm
125 # 0.8.2 (crossterm 0.29 -> mio 1.x), so the old tqdm -> crossterm 0.25 -> mio
126 # 0.8.11 chain (which lacked visionOS support) is gone from the tree.
127 [patch.crates-io]
122 -sysctl = { git = "https://github.com/setoelkahfi/sysctl-rs.git", branch = "feature/watchos" }
128 +sysctl = { git = "https://github.com/setoelkahfi/sysctl-rs.git", branch = "feature/watchos-0.6" }