diff --git a/ddtelemetry-ffi/cbindgen.toml b/ddtelemetry-ffi/cbindgen.toml index 70f87a8e4..58eaff48b 100644 --- a/ddtelemetry-ffi/cbindgen.toml +++ b/ddtelemetry-ffi/cbindgen.toml @@ -34,4 +34,4 @@ must_use = "DDOG_CHECK_RETURN" [parse] parse_deps = true -include = ["ddcommon", "ddtelemetry", "ddcommon-ffi"] +include = ["ddcommon", "ddtelemetry", "ddcommon-ffi", "datadog-ipc"] diff --git a/ipc/src/platform/unix/platform_handle.rs b/ipc/src/platform/unix/platform_handle.rs index d6199149e..aff9f6d71 100644 --- a/ipc/src/platform/unix/platform_handle.rs +++ b/ipc/src/platform/unix/platform_handle.rs @@ -19,7 +19,6 @@ use crate::handles::TransferHandles; /// PlatformHandle contains a valid reference counted FileDescriptor and associated Type information /// allowing safe transfer and sharing of file handles across processes, and threads #[derive(Serialize, Deserialize, Debug)] -#[repr(C)] pub struct PlatformHandle { fd: RawFd, // Just an fd number to be used as reference e.g. when serializing, not for accessing actual fd #[serde(skip)]