Skip to content

Commit

Permalink
Fix rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Mar 10, 2020
1 parent 3c90856 commit e482844
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/backtrace-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ fn main() {
// the less efficient `read`-based code.
// Using `mmap` on macOS causes weird isseus - see
// https://github.com/rust-lang/rust/pull/45866
if target.contains("windows")/* || target.contains("darwin")*/ {
if target.contains("windows")
/* || target.contains("darwin")*/
{
build.file("src/libbacktrace/read.c");
} else {
build.file("src/libbacktrace/mmapio.c");
Expand Down

0 comments on commit e482844

Please sign in to comment.