@@ -836,31 +836,47 @@ fn signal_string(signal: i32) -> &'static str {
836
836
libc:: SIGILL => " (SIGILL)" ,
837
837
libc:: SIGTRAP => " (SIGTRAP)" ,
838
838
libc:: SIGABRT => " (SIGABRT)" ,
839
+ #[ cfg( not( target_os = "l4re" ) ) ]
839
840
libc:: SIGBUS => " (SIGBUS)" ,
840
841
libc:: SIGFPE => " (SIGFPE)" ,
841
842
libc:: SIGKILL => " (SIGKILL)" ,
843
+ #[ cfg( not( target_os = "l4re" ) ) ]
842
844
libc:: SIGUSR1 => " (SIGUSR1)" ,
843
845
libc:: SIGSEGV => " (SIGSEGV)" ,
846
+ #[ cfg( not( target_os = "l4re" ) ) ]
844
847
libc:: SIGUSR2 => " (SIGUSR2)" ,
845
848
libc:: SIGPIPE => " (SIGPIPE)" ,
846
849
libc:: SIGALRM => " (SIGALRM)" ,
847
850
libc:: SIGTERM => " (SIGTERM)" ,
851
+ #[ cfg( not( target_os = "l4re" ) ) ]
848
852
libc:: SIGCHLD => " (SIGCHLD)" ,
853
+ #[ cfg( not( target_os = "l4re" ) ) ]
849
854
libc:: SIGCONT => " (SIGCONT)" ,
855
+ #[ cfg( not( target_os = "l4re" ) ) ]
850
856
libc:: SIGSTOP => " (SIGSTOP)" ,
857
+ #[ cfg( not( target_os = "l4re" ) ) ]
851
858
libc:: SIGTSTP => " (SIGTSTP)" ,
859
+ #[ cfg( not( target_os = "l4re" ) ) ]
852
860
libc:: SIGTTIN => " (SIGTTIN)" ,
861
+ #[ cfg( not( target_os = "l4re" ) ) ]
853
862
libc:: SIGTTOU => " (SIGTTOU)" ,
863
+ #[ cfg( not( target_os = "l4re" ) ) ]
854
864
libc:: SIGURG => " (SIGURG)" ,
865
+ #[ cfg( not( target_os = "l4re" ) ) ]
855
866
libc:: SIGXCPU => " (SIGXCPU)" ,
867
+ #[ cfg( not( target_os = "l4re" ) ) ]
856
868
libc:: SIGXFSZ => " (SIGXFSZ)" ,
869
+ #[ cfg( not( target_os = "l4re" ) ) ]
857
870
libc:: SIGVTALRM => " (SIGVTALRM)" ,
871
+ #[ cfg( not( target_os = "l4re" ) ) ]
858
872
libc:: SIGPROF => " (SIGPROF)" ,
873
+ #[ cfg( not( target_os = "l4re" ) ) ]
859
874
libc:: SIGWINCH => " (SIGWINCH)" ,
860
- #[ cfg( not( target_os = "haiku" ) ) ]
875
+ #[ cfg( not( any ( target_os = "haiku" , target_os = "l4re" ) ) ) ]
861
876
libc:: SIGIO => " (SIGIO)" ,
862
877
#[ cfg( target_os = "haiku" ) ]
863
878
libc:: SIGPOLL => " (SIGPOLL)" ,
879
+ #[ cfg( not( target_os = "l4re" ) ) ]
864
880
libc:: SIGSYS => " (SIGSYS)" ,
865
881
// For information on Linux signals, run `man 7 signal`
866
882
#[ cfg( all(
0 commit comments