Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions datadog-ipc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,6 @@ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polyfill_glibc_memfd)'] }

[features]
tiny-bytes = ["libdd-tinybytes"]
# Wake `OneWayShmReader::wait_for_change` via a futex on the generation word
# (Linux only). Without this, the wait falls back to a timed poll.
one_way_shm_futex = []
Comment thread
yannham marked this conversation as resolved.
1 change: 1 addition & 0 deletions datadog-ipc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
pub mod example_interface;
pub mod handles;

pub mod one_way_shared_memory;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the sidecar shared-memory export

Removing the public datadog_sidecar::one_way_shared_memory module breaks the FFI crate that still imports datadog_sidecar::one_way_shared_memory::{OneWayShmReader, ReaderOpener} in datadog-sidecar-ffi/src/lib.rs, so workspace builds that include datadog-sidecar-ffi fail after this move. Please either keep a compatibility re-export from datadog-sidecar or update the FFI crate to use the new datadog_ipc::one_way_shared_memory API and drop the removed ReaderOpener bound.

Useful? React with 👍 / 👎.

pub mod platform;
pub mod rate_limiter;
pub mod shm_stats;
Expand Down
Loading
Loading