Skip to content

Commit

Permalink
Same issue as rust-lang#90 except this is limited to gnueabihf (hard …
Browse files Browse the repository at this point in the history
…float)
  • Loading branch information
ithinuel committed Nov 27, 2016
1 parent 5fac4a0 commit e416382
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/float/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ fp_convert!(__floatunsisf: u32, f32);
fp_convert!(__floatunsidf: u32, f64);
fp_convert!(__floatundidf: u64, f64);

#[cfg(all(test))]
// NOTE(cfg) for some reason, on arm*-unknown-linux-gnueabihf, our implementation doesn't
// match the output of its gcc_s or compiler-rt counterpart. Until we investigate further, we'll
// just avoid testing against them on those targets. Do note that our implementation gives the
// correct answer; gcc_s and compiler-rt are incorrect in this case.
//
#[cfg(all(test, not(arm_linux)))]
mod tests {
use qc::{I32, U32, I64, U64, F32, F64};

Expand Down

0 comments on commit e416382

Please sign in to comment.