From: Jessica Hamilton Date: Tue, 25 Apr 2017 16:49:09 +0000 (+0000) Subject: Haiku: doesn't have SIG_SYS X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~69^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3aaed3871c47b5bb904fadcafca4d65541ec33c0;p=cargo.git Haiku: doesn't have SIG_SYS --- diff --git a/src/cargo/util/errors.rs b/src/cargo/util/errors.rs index 94f422f8d..3b1d35b6e 100644 --- a/src/cargo/util/errors.rs +++ b/src/cargo/util/errors.rs @@ -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", _ => "",