diff --git a/src/runtime/mod.rs b/src/runtime/mod.rs index 65bae87c604690c262705ded9e82a98df4279d49..f31b929d6d20bdb1ea4e4076d88feb613848c9b4 100644 --- a/src/runtime/mod.rs +++ b/src/runtime/mod.rs @@ -8,9 +8,6 @@ mod logging; /// cbindgen:ignore mod setup; -#[cfg(feature = "ffi")] -pub mod ffi; - #[cfg(test)] mod tests; @@ -376,7 +373,7 @@ impl Drop for Connector { } } impl Connector { - fn random_id() -> ConnectorId { + pub(crate) fn random_id() -> ConnectorId { type Bytes8 = [u8; std::mem::size_of::()]; unsafe { let mut bytes = std::mem::MaybeUninit::::uninit();