We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c90856 commit 345f0e1Copy full SHA for 345f0e1
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