mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
6a4dd19ade
add test ensuring simd codegen checks don't run when a static assertion failed stdarch relies on this to ensure that SIMD indices are in bounds. I would love to know why this works, but I can't figure out where codegen decides to not codegen a function if a required-const does not evaluate. `@oli-obk` `@bjorn3` do you have any idea?