From e6542fdb6be9702f8d4a8c2b6a60b7e1fda22a80 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 9 May 2019 16:21:28 +0200 Subject: [PATCH] =?UTF-8?q?ibr:=20Ignore=20size=20tests,=20HashMap=20imple?= =?UTF-8?q?mentation=20changed=20and=20this=20added=2016=C2=A0bytes=20to?= =?UTF-8?q?=20every=20instance.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ibr.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ibr.rs b/src/ibr.rs index 911b8002..2d41a6fa 100644 --- a/src/ibr.rs +++ b/src/ibr.rs @@ -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); }