From 2b7497f640cc229c7d43d5e88020f6b68925293e Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Sat, 27 Jul 2019 10:16:54 -0400 Subject: [PATCH] Disable test_map with miri on macOS. HashMap doesn't work with miri on macOS yet because of https://github.com/rust-lang/miri/issues/686 --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 6c50096..a092a6e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1097,6 +1097,7 @@ mod tests { assert_eq!(format!("{:?}", foo), "75"); } + #[cfg(not(all(target_os = "macos", miri)))] #[test] fn test_map() { let mut map = std::collections::HashMap::new();