Skip to content

Commit

Permalink
Disable test_map with miri on macOS.
Browse files Browse the repository at this point in the history
HashMap doesn't work with miri on macOS yet because of
rust-lang/miri#686
  • Loading branch information
jrmuizel committed Jul 27, 2019
1 parent e972a9e commit 2b7497f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2b7497f

Please sign in to comment.