Fix expected struct sizes for nightly optimizations (no more CI warnings)
This commit is contained in:
parent
099b7356a6
commit
c8dcf5e7a7
6 changed files with 27 additions and 0 deletions
|
|
@ -254,6 +254,9 @@ 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!(DiscoItemsQuery, 24);
|
||||
assert_size!(DiscoItemsResult, 48);
|
||||
|
|
|
|||
Loading…
Reference in a new issue