ibr: Ignore size tests, HashMap implementation changed and this added 16 bytes to every instance.

This commit is contained in:
Emmanuel Gil Peyrot 2019-05-09 16:21:28 +02:00
parent dabdc1db68
commit e6542fdb6b

View file

@ -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. Lets 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);
}