Closed qarmin closed 7 months ago
Turns out cg_clif miscompiled is_x86_feature_detected!()
such that AVX is never detected: https://github.com/rust-lang/rustc_codegen_cranelift/issues/1405#issuecomment-1787952058 This has resulted in me not noticing all the AVX intrinsics that crates rely on. When using the rustup component, an LLVM compiled libstd will be used which has a correct is_x86_feature_detected!()
which does detect AVX. I will work on implementing this AVX vendor intrinsic tomorrow.
I can't directly reproduce this as I'm testing it on a server without gui support. Assuming this issue originates from the image crate, I can reproduce it using the test suite of the image crate. Working on a fix right now.
If it was indeed the image crate being broken, a fix should now be available on the implement_xgetbv branch.
Can you try again with the latest nightly? The image crate should now fully work.
I tried day or two day ago to run in after using rustup update
, but it was still broken.
But when I run it via - https://github.com/rust-lang/rustc_codegen_cranelift/releases/tag/dev - then everything works fine.
I tried day or two day ago to run in after using rustup update, but it was still broken.
The subtree sync only just landed in the latest nightly.
But when I run it via - https://github.com/rust-lang/rustc_codegen_cranelift/releases/tag/dev - then everything works fine.
Great!
Steps to reproduce
Error