File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ impl Frame {
60
60
#[ repr( C , align( 16 ) ) ] // required by `CONTEXT`, is a FIXME in winapi right now
61
61
struct MyContext ( CONTEXT ) ;
62
62
63
- #[ cfg( target_arch = "x86_64" ) ]
63
+ #[ cfg( any ( target_arch = "x86_64" , target_arch = "arm64ec" ) ) ]
64
64
impl MyContext {
65
65
#[ inline( always) ]
66
66
fn ip ( & self ) -> DWORD64 {
@@ -122,7 +122,7 @@ impl MyContext {
122
122
}
123
123
}
124
124
125
- #[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" ) ) ]
125
+ #[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" , target_arch = "arm64ec" ) ) ]
126
126
#[ inline( always) ]
127
127
pub unsafe fn trace ( cb : & mut dyn FnMut ( & super :: Frame ) -> bool ) {
128
128
use core:: ptr;
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ ffi! {
447
447
}
448
448
}
449
449
450
- #[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" ) ) ]
450
+ #[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" , target_arch = "arm64ec" ) ) ]
451
451
ffi ! {
452
452
#[ link( name = "kernel32" ) ]
453
453
extern "system" {
@@ -594,7 +594,7 @@ ffi! {
594
594
}
595
595
}
596
596
597
- #[ cfg( target_arch = "x86_64" ) ]
597
+ #[ cfg( any ( target_arch = "x86_64" , target_arch = "arm64ec" ) ) ]
598
598
ffi ! {
599
599
#[ repr( C , align( 8 ) ) ]
600
600
pub struct CONTEXT {
@@ -662,7 +662,7 @@ ffi! {
662
662
}
663
663
664
664
#[ repr( C ) ]
665
- #[ cfg( target_arch = "x86_64" ) ]
665
+ #[ cfg( any ( target_arch = "x86_64" , target_arch = "arm64ec" ) ) ]
666
666
#[ derive( Copy , Clone ) ]
667
667
pub struct FLOATING_SAVE_AREA {
668
668
_Dummy : [ u8 ; 512 ] ,
You can’t perform that action at this time.
0 commit comments