mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
ibr: Ignore size tests, HashMap implementation changed and this added 16 bytes to every instance.
This commit is contained in:
parent
dabdc1db68
commit
e6542fdb6b
1 changed files with 7 additions and 0 deletions
|
@ -120,14 +120,21 @@ mod tests {
|
|||
use super::*;
|
||||
use crate::util::compare_elements::NamespaceAwareCompare;
|
||||
|
||||
// TODO: These size tests are sensible to the size of HashMap, which recently grew of two
|
||||
// pointers and is thus different on stable and nightly. Let’s wait for this issue before
|
||||
// attempting a fix:
|
||||
// https://github.com/rust-lang/hashbrown/issues/69
|
||||
|
||||
#[cfg(target_pointer_width = "32")]
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_size() {
|
||||
assert_size!(Query, 88);
|
||||
}
|
||||
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_size() {
|
||||
assert_size!(Query, 152);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue