Skip to content

Commit 704ea21

Browse files
Gelbpunkttgross35
authored andcommitted
libm: Reenable should_panic tests on ppc64le
The tests pass successfully for me on powerpc64le-unknown-linux-gnu with nightly 1.95.
1 parent 4768177 commit 704ea21

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

libm/src/math/support/big/tests.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,6 @@ fn shr_u256() {
261261
#[test]
262262
#[should_panic]
263263
#[cfg(debug_assertions)]
264-
// FIXME(ppc): ppc64le seems to have issues with `should_panic` tests.
265-
#[cfg(not(all(target_arch = "powerpc64", target_endian = "little")))]
266264
fn shr_u256_overflow() {
267265
// Like regular shr, panic on overflow with debug assertions
268266
let _ = u256::MAX >> 256;

libm/src/math/support/hex_float.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,6 @@ mod parse_tests {
846846
}
847847

848848
#[cfg(test)]
849-
// FIXME(ppc): something with `should_panic` tests cause a SIGILL with ppc64le
850-
#[cfg(not(all(target_arch = "powerpc64", target_endian = "little")))]
851849
mod tests_panicking {
852850
extern crate std;
853851
use super::*;

0 commit comments

Comments
 (0)