It appears I've found a little copy-paste error created at some point in time. I'm guessing most developers for this crate are on new enough hardware that they have avx2. My crate builds with rustflags = ["-C", "target-cpu=sandybridge"] as I target hardware with sse4.1 and AVX, but not AVX2, and pulling in ultraviolet triggered a compilation error in this crate.
I'm assuming this is the correct behavior for the function, please correct me if I'm wrong but the snippet:
Ah, yes. It is a little cumbersome to test every feature level so sadly a few breaks do slip in. At least they're usually this obvious when it happens.
It appears I've found a little copy-paste error created at some point in time. I'm guessing most developers for this crate are on new enough hardware that they have avx2. My crate builds with
rustflags = ["-C", "target-cpu=sandybridge"]
as I target hardware with sse4.1 and AVX, but not AVX2, and pulling in ultraviolet triggered a compilation error in this crate.I'm assuming this is the correct behavior for the function, please correct me if I'm wrong but the snippet:
Should actually be:
Easy fix either way, hopefully it can get through quickly so I can go back to using a cargo release of ultraviolet