Skip to content

Commit

Permalink
Disable tests on PowerPC
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-Bertholet committed Nov 7, 2022
1 parent 7c02ee9 commit 276b26e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/math/rint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pub fn rint(x: f64) -> f64 {
}
}

// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::rint;
Expand Down
2 changes: 2 additions & 0 deletions src/math/rintf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pub fn rintf(x: f32) -> f32 {
}
}

// PowerPC tests are failing on LLVM 13: https://github.com/rust-lang/rust/issues/88520
#[cfg(not(target_arch = "powerpc64"))]
#[cfg(test)]
mod tests {
use super::rintf;
Expand Down

0 comments on commit 276b26e

Please sign in to comment.