3 ms·
Oh? Isn't that what this does? std::arch::is_riscv_feature_detected!("v") Hmm… now that I actually experiment with it, I can't get it to return `true` on hard
by thomashabets2 2y ago
Oh? Isn't that what this does? std::arch::is_riscv_feature_detected!("v")
Hmm… now that I actually experiment with it, I can't get it to return `true` on hardware that does support it, unless I also compile with -Ctarget-feature=+v. And if I do, then the binary crashes with SIGILL before getting to that point on hardware without rvv.
So if it's always equal to cfg!(target_feature="v"), then what does that even mean?
I have created https://github.com/rust-lang/rust/issues/139139 https://github.com/rust-lang/rust/issues/139139