diff --git a/ci/run.sh b/ci/run.sh index bc94d42fe..2ef6427e0 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -122,7 +122,7 @@ case "$target" in *thumb*) mflags+=(--exclude musl-math-sys) ;; # We can build musl on MinGW but running tests gets a stack overflow - *windows-gnu*) ;; + # *windows-gnu*) ;; # FIXME(#309): LE PPC crashes calling the musl version of some functions. It # seems like a qemu bug but should be investigated further at some point. # See . diff --git a/libm/src/math/support/float_traits.rs b/libm/src/math/support/float_traits.rs index fb790e696..4e5011f62 100644 --- a/libm/src/math/support/float_traits.rs +++ b/libm/src/math/support/float_traits.rs @@ -289,7 +289,10 @@ macro_rules! float_impl { cfg_if! { // fma is not yet available in `core` if #[cfg(intrinsics_enabled)] { - unsafe{ core::intrinsics::$fma_intrinsic(self, y, z) } + // FIXME(msrv,bench): once our benchmark rustc version is above the + // 2022-09-23 nightly, this can be removed. + #[allow(unused_unsafe)] + unsafe { core::intrinsics::$fma_intrinsic(self, y, z) } } else { super::super::$fma_fn(self, y, z) }