Skip to content

Commit 86e4a37

Browse files
committed
s/macos/darwin/
1 parent 23328fe commit 86e4a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/backtrace-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn main() {
3838
// the less efficient `read`-based code.
3939
// Using `mmap` on macOS causes weird isseus - see
4040
// https://github.com/rust-lang/rust/pull/45866
41-
if target.contains("windows") || target.contains("macos") {
41+
if target.contains("windows") || target.contains("darwin") {
4242
build.file("src/libbacktrace/read.c");
4343
} else {
4444
build.file("src/libbacktrace/mmapio.c");

0 commit comments

Comments
 (0)