From 3aaed3871c47b5bb904fadcafca4d65541ec33c0 Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Tue, 25 Apr 2017 16:49:09 +0000 Subject: [PATCH] Haiku: doesn't have SIG_SYS --- src/cargo/util/errors.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cargo/util/errors.rs b/src/cargo/util/errors.rs index 94f422f8d85..3b1d35b6eee 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", _ => "",