Skip to content

Commit 71f617f

Browse files
committed
➕ core: Add dependency on libc
We'll need this to fetch the PIDFD in a following commit. We can ditch this once `rustix` gains the needed API: bytecodealliance/rustix#1474
1 parent 8400df2 commit 71f617f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.lock

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

zlink-core/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository.workspace = true
99

1010
[features]
1111
default = ["std", "proxy", "tracing"]
12-
std = ["dep:rustix", "zlink-macros/std"]
12+
std = ["dep:rustix", "dep:libc", "zlink-macros/std"]
1313
proxy = ["zlink-macros/proxy"]
1414
# IDL and introspection support
1515
idl = []
@@ -46,6 +46,7 @@ rustix = { version = "1.1.2", default-features = false, features = [
4646
"std",
4747
"fs",
4848
], optional = true }
49+
libc = { version = "0.2", optional = true }
4950

5051
[dev-dependencies]
5152
serde = { version = "1.0.218", default-features = false, features = ["alloc"] }

0 commit comments

Comments
 (0)