Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ criterion = { version = "0.8.2", features = ["html_reports"] }
cc = { version = "1", optional = true }

[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
libc = { version = "0.2", optional = true }

[features]

Expand Down Expand Up @@ -283,7 +283,7 @@ select = []
# Enables memfd-backed buffers for zero-copy cross-process sharing (Linux only).
# Use `MemfdBuffer::new()` to create a buffer, then pass the fd to child processes.
# Children call `MemfdBuffer::reopen()` to access the same physical memory.
memfd = []
memfd = ["dep:libc"]

# Consider enabling this for improved Vec64 performance on Linux.
#
Expand Down
Loading