@@ -62,7 +62,8 @@ libc_enum! {
6262 #[ cfg( all( any( target_os = "android" , target_os = "emscripten" ,
6363 target_os = "fuchsia" , target_os = "linux" ) ,
6464 not( any( target_arch = "mips" , target_arch = "mips64" ,
65- target_arch = "sparc64" ) ) ) ) ]
65+ target_arch = "sparc64" ,
66+ target_arch = "loongarch64" ) ) ) ) ]
6667 SIGSTKFLT ,
6768 /// To parent on child stop or exit
6869 SIGCHLD ,
@@ -145,7 +146,8 @@ impl FromStr for Signal {
145146 not( any(
146147 target_arch = "mips" ,
147148 target_arch = "mips64" ,
148- target_arch = "sparc64"
149+ target_arch = "sparc64" ,
150+ target_arch = "loongarch64"
149151 ) )
150152 ) ) ]
151153 "SIGSTKFLT" => Signal :: SIGSTKFLT ,
@@ -228,7 +230,8 @@ impl Signal {
228230 not( any(
229231 target_arch = "mips" ,
230232 target_arch = "mips64" ,
231- target_arch = "sparc64"
233+ target_arch = "sparc64" ,
234+ target_arch = "loongarch64"
232235 ) )
233236 ) ) ]
234237 Signal :: SIGSTKFLT => "SIGSTKFLT" ,
@@ -319,7 +322,8 @@ const SIGNALS: [Signal; 28] = [
319322 not( any(
320323 target_arch = "mips" ,
321324 target_arch = "mips64" ,
322- target_arch = "sparc64"
325+ target_arch = "sparc64" ,
326+ target_arch = "loongarch64"
323327 ) )
324328) ) ]
325329#[ cfg( feature = "signal" ) ]
0 commit comments