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
|
|
@ -55,6 +55,9 @@ mod tests {
|
|||
#[test]
|
||||
fn test_size() {
|
||||
assert_size!(JidPrepQuery, 24);
|
||||
#[cfg(rustc_nightly)]
|
||||
assert_size!(JidPrepResponse, 72);
|
||||
#[cfg(not(rustc_nightly))]
|
||||
assert_size!(JidPrepResponse, 80);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue