mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-03-17 20:28:03 +02:00
Update darwin cfg attributes.
This commit is contained in:
parent
d3e118a786
commit
a3537aa32a
@ -334,7 +334,7 @@ impl RawArgs {
|
|||||||
} else if cfg!(windows) {
|
} else if cfg!(windows) {
|
||||||
// On Windows, memory maps appear faster than read calls. Neat.
|
// On Windows, memory maps appear faster than read calls. Neat.
|
||||||
true
|
true
|
||||||
} else if cfg!(darwin) {
|
} else if cfg!(target_os = "macos") {
|
||||||
// On Mac, memory maps appear to suck. Neat.
|
// On Mac, memory maps appear to suck. Neat.
|
||||||
false
|
false
|
||||||
} else {
|
} else {
|
||||||
|
@ -778,7 +778,7 @@ clean!(regression_127, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| {
|
|||||||
// See: https://github.com/BurntSushi/ripgrep/issues/131
|
// See: https://github.com/BurntSushi/ripgrep/issues/131
|
||||||
//
|
//
|
||||||
// TODO(burntsushi): Darwin doesn't like this test for some reason.
|
// TODO(burntsushi): Darwin doesn't like this test for some reason.
|
||||||
#[cfg(not(darwin))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
clean!(regression_131, "test", ".", |wd: WorkDir, mut cmd: Command| {
|
clean!(regression_131, "test", ".", |wd: WorkDir, mut cmd: Command| {
|
||||||
wd.create(".gitignore", "TopÑapa");
|
wd.create(".gitignore", "TopÑapa");
|
||||||
wd.create("TopÑapa", "test");
|
wd.create("TopÑapa", "test");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user