xmpp-parsers: Fix size tests on 64-bit

This commit is contained in:
Emmanuel Gil Peyrot 2023-06-20 14:08:58 +02:00
commit 91736ec0ed
18 changed files with 20 additions and 32 deletions

View file

@ -52,10 +52,7 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
#[cfg(rustc_nightly)]
assert_size!(StanzaId, 96);
#[cfg(not(rustc_nightly))]
assert_size!(StanzaId, 104);
assert_size!(StanzaId, 64);
assert_size!(OriginId, 24);
}