We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c90856 commit e482844Copy full SHA for e482844
crates/backtrace-sys/build.rs
@@ -38,7 +38,9 @@ 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("darwin")*/ {
+ if target.contains("windows")
42
+ /* || target.contains("darwin")*/
43
+ {
44
build.file("src/libbacktrace/read.c");
45
} else {
46
build.file("src/libbacktrace/mmapio.c");
0 commit comments