SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Rollup merge of #155641 - Zalathar:no-run-mir-opt, r=jieyouxu

Remove non-working code for "running" mir-opt tests

Tests in `tests/mir-opt` always use `--emit=mir`, so the compiler doesn't even produce an executable.

Attempting to "run" these tests (e.g. with `./x test mir-opt --pass=run`) therefore fails when the OS notices that a MIR text file is not executable.

---

The second commit performs some semi-related cleanup.

r? jieyouxu
J
Jonathan Brouwer committed
333f033e2058a52139ce4b04393afb0fc5b6ddb8
Committed by GitHub <noreply@github.com> on 4/23/2026, 7:38:25 AM