We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23328fe commit 86e4a37Copy full SHA for 86e4a37
crates/backtrace-sys/build.rs
@@ -38,7 +38,7 @@ fn main() {
38
// the less efficient `read`-based code.
39
// Using `mmap` on macOS causes weird isseus - see
40
// https://github.com/rust-lang/rust/pull/45866
41
- if target.contains("windows") || target.contains("macos") {
+ if target.contains("windows") || target.contains("darwin") {
42
build.file("src/libbacktrace/read.c");
43
} else {
44
build.file("src/libbacktrace/mmapio.c");
0 commit comments