Closed y21 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.
Should be fixed in the latest nightly.
Noticed this in a project using reqwest, but it also seems to reproduce using just hyper and tokio:
Awesome project btw! It's great to see that this is available as a rustup component now