File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ no_mangle! {
7272 not( target_env = "wasi" )
7373 ) ,
7474 target_os = "xous" ,
75+ all( target_arch = "x86_64" , target_os = "uefi" ) ,
7576 all( target_arch = "xtensa" , target_os = "none" ) ,
7677 all( target_vendor = "fortanix" , target_env = "sgx" )
7778) ) ]
@@ -95,15 +96,16 @@ no_mangle! {
9596 fn tanf( n: f32 ) -> f32 ;
9697}
9798
98- #[ cfg( target_os = "xous" ) ]
99+ #[ cfg( any ( target_os = "xous" , target_os = "uefi" ) ) ]
99100no_mangle ! {
100101 fn sqrtf( x: f32 ) -> f32 ;
101102 fn sqrt( x: f64 ) -> f64 ;
102103}
103104
104105#[ cfg( any(
105106 all( target_vendor = "fortanix" , target_env = "sgx" ) ,
106- target_os = "xous"
107+ target_os = "xous" ,
108+ target_os = "uefi"
107109) ) ]
108110no_mangle ! {
109111 fn ceil( x: f64 ) -> f64 ;
Original file line number Diff line number Diff line change @@ -230,6 +230,8 @@ fn memmove_backward_aligned() {
230230 }
231231}
232232
233+ // PowerPC tests are failing: https://github.com/rust-lang/rust/issues/99853
234+ #[ cfg( not( target_arch = "powerpc64" ) ) ]
233235#[ test]
234236fn memset_backward_misaligned_nonaligned_start ( ) {
235237 let mut arr = gen_arr :: < 32 > ( ) ;
@@ -242,6 +244,8 @@ fn memset_backward_misaligned_nonaligned_start() {
242244 }
243245}
244246
247+ // PowerPC tests are failing: https://github.com/rust-lang/rust/issues/99853
248+ #[ cfg( not( target_arch = "powerpc64" ) ) ]
245249#[ test]
246250fn memset_backward_misaligned_aligned_start ( ) {
247251 let mut arr = gen_arr :: < 32 > ( ) ;
@@ -254,6 +258,8 @@ fn memset_backward_misaligned_aligned_start() {
254258 }
255259}
256260
261+ // PowerPC tests are failing: https://github.com/rust-lang/rust/issues/99853
262+ #[ cfg( not( target_arch = "powerpc64" ) ) ]
257263#[ test]
258264fn memset_backward_aligned ( ) {
259265 let mut arr = gen_arr :: < 32 > ( ) ;
You can’t perform that action at this time.
0 commit comments