@@ -836,31 +836,47 @@ fn signal_string(signal: i32) -> &'static str {
836836 libc:: SIGILL => " (SIGILL)" ,
837837 libc:: SIGTRAP => " (SIGTRAP)" ,
838838 libc:: SIGABRT => " (SIGABRT)" ,
839+ #[ cfg( not( target_os = "l4re" ) ) ]
839840 libc:: SIGBUS => " (SIGBUS)" ,
840841 libc:: SIGFPE => " (SIGFPE)" ,
841842 libc:: SIGKILL => " (SIGKILL)" ,
843+ #[ cfg( not( target_os = "l4re" ) ) ]
842844 libc:: SIGUSR1 => " (SIGUSR1)" ,
843845 libc:: SIGSEGV => " (SIGSEGV)" ,
846+ #[ cfg( not( target_os = "l4re" ) ) ]
844847 libc:: SIGUSR2 => " (SIGUSR2)" ,
845848 libc:: SIGPIPE => " (SIGPIPE)" ,
846849 libc:: SIGALRM => " (SIGALRM)" ,
847850 libc:: SIGTERM => " (SIGTERM)" ,
851+ #[ cfg( not( target_os = "l4re" ) ) ]
848852 libc:: SIGCHLD => " (SIGCHLD)" ,
853+ #[ cfg( not( target_os = "l4re" ) ) ]
849854 libc:: SIGCONT => " (SIGCONT)" ,
855+ #[ cfg( not( target_os = "l4re" ) ) ]
850856 libc:: SIGSTOP => " (SIGSTOP)" ,
857+ #[ cfg( not( target_os = "l4re" ) ) ]
851858 libc:: SIGTSTP => " (SIGTSTP)" ,
859+ #[ cfg( not( target_os = "l4re" ) ) ]
852860 libc:: SIGTTIN => " (SIGTTIN)" ,
861+ #[ cfg( not( target_os = "l4re" ) ) ]
853862 libc:: SIGTTOU => " (SIGTTOU)" ,
863+ #[ cfg( not( target_os = "l4re" ) ) ]
854864 libc:: SIGURG => " (SIGURG)" ,
865+ #[ cfg( not( target_os = "l4re" ) ) ]
855866 libc:: SIGXCPU => " (SIGXCPU)" ,
867+ #[ cfg( not( target_os = "l4re" ) ) ]
856868 libc:: SIGXFSZ => " (SIGXFSZ)" ,
869+ #[ cfg( not( target_os = "l4re" ) ) ]
857870 libc:: SIGVTALRM => " (SIGVTALRM)" ,
871+ #[ cfg( not( target_os = "l4re" ) ) ]
858872 libc:: SIGPROF => " (SIGPROF)" ,
873+ #[ cfg( not( target_os = "l4re" ) ) ]
859874 libc:: SIGWINCH => " (SIGWINCH)" ,
860- #[ cfg( not( target_os = "haiku" ) ) ]
875+ #[ cfg( not( any ( target_os = "haiku" , target_os = "l4re" ) ) ) ]
861876 libc:: SIGIO => " (SIGIO)" ,
862877 #[ cfg( target_os = "haiku" ) ]
863878 libc:: SIGPOLL => " (SIGPOLL)" ,
879+ #[ cfg( not( target_os = "l4re" ) ) ]
864880 libc:: SIGSYS => " (SIGSYS)" ,
865881 // For information on Linux signals, run `man 7 signal`
866882 #[ cfg( all(
0 commit comments