Lokathor / wide

A crate to help you go wide. By which I mean use SIMD stuff.
https://docs.rs/wide
zlib License
308 stars 25 forks source link

core::intrinsics::sqrtf32(x) Call to unsafe function #22

Closed kettle11 closed 4 years ago

kettle11 commented 4 years ago

Line 138 in lib.rs needs to be changed to:

unsafe { core::intrinsics::sqrtf32(x) }

Otherwise the build will fail on nightly for platforms without SSE support. I found this when I tried to build ultraviolet for Wasm.

Lokathor commented 4 years ago

Good catch. I'm upset that CI didn't notice that but it's because i only test stable for a lot of targets.

I've fixed that, and i'm letting the new CI run with an extra entry for nightly wasm32-unknown-unknown. Once that completes I'll publish a patch.

Lokathor commented 4 years ago

0.4.3 is out!