File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -424,8 +424,9 @@ fn main() {
424
424
}
425
425
426
426
// To filter away some flaky test (see src/float/add.rs for details)
427
- if llvm_target. last ( ) . unwrap ( ) . contains ( "gnueabi" ) {
428
- println ! ( "cargo:rustc-cfg=gnueabi" )
427
+ if llvm_target[ 0 ] . starts_with ( "arm" ) &&
428
+ llvm_target. last ( ) . unwrap ( ) . contains ( "gnueabi" ) {
429
+ println ! ( "cargo:rustc-cfg=arm-linux" )
429
430
}
430
431
431
432
// To compile intrinsics.rs for thumb targets, where there is no libc
Original file line number Diff line number Diff line change @@ -184,11 +184,11 @@ macro_rules! add {
184
184
add ! ( __addsf3: f32 ) ;
185
185
add ! ( __adddf3: f64 ) ;
186
186
187
- // NOTE(cfg) for some reason, on arm-unknown-linux-gnueabi*, our implementation doesn't
187
+ // NOTE(cfg) for some reason, on arm* -unknown-linux-gnueabi*, our implementation doesn't
188
188
// match the output of its gcc_s or compiler-rt counterpart. Until we investigate further, we'll
189
189
// just avoid testing against them on those targets. Do note that our implementation gives the
190
190
// correct answer; gcc_s and compiler-rt are incorrect in this case.
191
- #[ cfg( all( test, not( gnueabi ) ) ) ]
191
+ #[ cfg( all( test, not( arm-linux ) ) ) ]
192
192
mod tests {
193
193
use core:: { f32, f64} ;
194
194
use qc:: { F32 , F64 } ;
You can’t perform that action at this time.
0 commit comments