Update darwin cfg attributes.

This commit is contained in:
Andrew Gallant
2016-10-10 21:48:47 -04:00
parent d3e118a786
commit a3537aa32a
2 changed files with 2 additions and 2 deletions

View File

@@ -334,7 +334,7 @@ impl RawArgs {
} else if cfg!(windows) {
// On Windows, memory maps appear faster than read calls. Neat.
true
} else if cfg!(darwin) {
} else if cfg!(target_os = "macos") {
// On Mac, memory maps appear to suck. Neat.
false
} else {