mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:24:06 +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?
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.