Skip to content

Commit

Permalink
Haiku: doesn't have SIG_SYS
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicah committed Apr 25, 2017
1 parent 0fe6945 commit 3aaed38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/util/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ pub fn process_error(msg: &str,
libc::SIGSEGV => ", SIGSEGV: invalid memory reference",
libc::SIGTERM => ", SIGTERM: termination signal",
libc::SIGBUS => ", SIGBUS: access to undefined memory",
#[cfg(not(target_os = "haiku"))]
libc::SIGSYS => ", SIGSYS: bad system call",
libc::SIGTRAP => ", SIGTRAP: trace/breakpoint trap",
_ => "",
Expand Down

0 comments on commit 3aaed38

Please sign in to comment.