diff --git a/zenoh/src/sample.rs b/zenoh/src/sample.rs index 3c78e75cef..73005348b9 100644 --- a/zenoh/src/sample.rs +++ b/zenoh/src/sample.rs @@ -67,8 +67,16 @@ pub struct SourceInfo { #[test] #[cfg(feature = "unstable")] +#[cfg(not(all(target_os = "macos", target_arch = "aarch64")))] fn source_info_stack_size() { - assert_eq!(std::mem::size_of::(), 16 * 3); + assert_eq!(std::mem::size_of::(), 40); +} + +#[test] +#[cfg(feature = "unstable")] +#[cfg(all(target_os = "macos", target_arch = "aarch64"))] +fn source_info_stack_size() { + assert_eq!(std::mem::size_of::(), 48); } #[zenoh_macros::unstable]