Skip to content

Commit

Permalink
disable all windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed May 21, 2024
1 parent 241b9a8 commit fdb0fd1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions testcrate/tests/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,19 +159,19 @@ mod float_pow {
#[cfg(not(all(target_arch = "x86", not(target_feature = "sse"))))]
#[cfg(not(any(feature = "no-f16-f128", feature = "no-sys-f128")))]
mod float_pow_f128 {
use super::*;
use core::hint::black_box;
// use super::*;
// use core::hint::black_box;

// Windows can't link the required arithmetic functions. See
// <https://github.com/rust-lang/compiler-builtins/pull/614#issuecomment-2118636613>
#[cfg(not(target_family = "windows"))]
#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))]
pow! {
f128, 1e-36, __powitf2;
}
// #[cfg(not(target_family = "windows"))]
// #[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))]
// pow! {
// f128, 1e-36, __powitf2;
// }

#[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))]
pow! {
f128, 1e-36, __powikf2;
}
// #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))]
// pow! {
// f128, 1e-36, __powikf2;
// }
}

0 comments on commit fdb0fd1

Please sign in to comment.