File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ use libc::siginfo_t;
12
12
use crate :: os:: unix_signals:: { ucontext_t, Signal } ;
13
13
14
14
/// Write the content of all important registers
15
- #[ cfg( all( target_os = "linux" , target_arch = "x86_64" ) ) ]
15
+ #[ cfg( all(
16
+ any( target_os = "linux" , target_os = "android" ) ,
17
+ target_arch = "x86_64"
18
+ ) ) ]
16
19
#[ allow( clippy:: similar_names) ]
17
20
pub fn dump_registers < W : Write > (
18
21
writer : & mut BufWriter < W > ,
@@ -414,7 +417,10 @@ fn dump_registers<W: Write>(
414
417
Ok ( ( ) )
415
418
}
416
419
417
- #[ cfg( all( target_os = "linux" , target_arch = "x86_64" ) ) ]
420
+ #[ cfg( all(
421
+ any( target_os = "linux" , target_os = "android" ) ,
422
+ target_arch = "x86_64"
423
+ ) ) ]
418
424
fn write_crash < W : Write > (
419
425
writer : & mut BufWriter < W > ,
420
426
signal : Signal ,
You can’t perform that action at this time.
0 commit comments