xmpp-parsers: Fix size tests on 64-bit
This commit is contained in:
parent
022a920300
commit
91736ec0ed
18 changed files with 20 additions and 32 deletions
|
|
@ -254,10 +254,7 @@ mod tests {
|
|||
assert_size!(DiscoInfoQuery, 24);
|
||||
assert_size!(DiscoInfoResult, 96);
|
||||
|
||||
#[cfg(rustc_nightly)]
|
||||
assert_size!(Item, 120);
|
||||
#[cfg(not(rustc_nightly))]
|
||||
assert_size!(Item, 128);
|
||||
assert_size!(Item, 88);
|
||||
assert_size!(DiscoItemsQuery, 24);
|
||||
assert_size!(DiscoItemsResult, 48);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue