Commit 333f033
authored
Rollup merge of rust-lang#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? jieyouxu3 files changed
Lines changed: 12 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
| 298 | + | |
| 299 | + | |
303 | 300 | | |
304 | | - | |
305 | | - | |
306 | 301 | | |
307 | 302 | | |
308 | 303 | | |
| |||
314 | 309 | | |
315 | 310 | | |
316 | 311 | | |
317 | | - | |
| 312 | + | |
318 | 313 | | |
319 | 314 | | |
320 | 315 | | |
| |||
935 | 930 | | |
936 | 931 | | |
937 | 932 | | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
| 933 | + | |
948 | 934 | | |
949 | 935 | | |
950 | 936 | | |
951 | 937 | | |
952 | 938 | | |
953 | 939 | | |
954 | | - | |
955 | 940 | | |
956 | 941 | | |
957 | 942 | | |
| |||
975 | 960 | | |
976 | 961 | | |
977 | 962 | | |
978 | | - | |
| 963 | + | |
979 | 964 | | |
980 | 965 | | |
981 | 966 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | | - | |
| 21 | + | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 26 | | |
38 | 27 | | |
39 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments