@@ -62,7 +62,8 @@ libc_enum! {
62
62
#[ cfg( all( any( target_os = "android" , target_os = "emscripten" ,
63
63
target_os = "fuchsia" , target_os = "linux" ) ,
64
64
not( any( target_arch = "mips" , target_arch = "mips64" ,
65
- target_arch = "sparc64" ) ) ) ) ]
65
+ target_arch = "sparc64" ,
66
+ target_arch = "loongarch64" ) ) ) ) ]
66
67
SIGSTKFLT ,
67
68
/// To parent on child stop or exit
68
69
SIGCHLD ,
@@ -145,7 +146,8 @@ impl FromStr for Signal {
145
146
not( any(
146
147
target_arch = "mips" ,
147
148
target_arch = "mips64" ,
148
- target_arch = "sparc64"
149
+ target_arch = "sparc64" ,
150
+ target_arch = "loongarch64"
149
151
) )
150
152
) ) ]
151
153
"SIGSTKFLT" => Signal :: SIGSTKFLT ,
@@ -228,7 +230,8 @@ impl Signal {
228
230
not( any(
229
231
target_arch = "mips" ,
230
232
target_arch = "mips64" ,
231
- target_arch = "sparc64"
233
+ target_arch = "sparc64" ,
234
+ target_arch = "loongarch64"
232
235
) )
233
236
) ) ]
234
237
Signal :: SIGSTKFLT => "SIGSTKFLT" ,
@@ -319,7 +322,8 @@ const SIGNALS: [Signal; 28] = [
319
322
not( any(
320
323
target_arch = "mips" ,
321
324
target_arch = "mips64" ,
322
- target_arch = "sparc64"
325
+ target_arch = "sparc64" ,
326
+ target_arch = "loongarch64"
323
327
) )
324
328
) ) ]
325
329
#[ cfg( feature = "signal" ) ]
0 commit comments