summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-10-10 21:48:47 -0400
committerAndrew Gallant <jamslam@gmail.com>2016-10-10 21:48:47 -0400
commita3537aa32a9069c0d740931010de32f0f184583f (patch)
treee00c8028af58c9b62ed8173f7433fe374bb44738 /src
parentd3e118a786971ac2e1d8f62e22dce7fa60fc3ce3 (diff)
Update darwin cfg attributes.
Diffstat (limited to 'src')
-rw-r--r--src/args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs
index 40fe97fd..95bd5102 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -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 {