OS X is "macos", not "darwin"
This commit is contained in:
parent
5f997645bc
commit
174874420b
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ fn main() {
|
|||
let _map : HashMap<i32, i32, BuildHasherDefault<collections::hash_map::DefaultHasher>> = Default::default();
|
||||
|
||||
// TODO: Implement random number generation on OS X
|
||||
if cfg!(not(target_os = "darwin")) {
|
||||
if cfg!(not(target_os = "macos")) {
|
||||
let map_normal: HashMap<i32, i32> = HashMap::new();
|
||||
test_map(map_normal);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue