This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 7155c65
authored
Rollup merge of rust-lang#132565 - bjorn3:less_target_name_dependence, r=workingjubilee
Reduce dependence on the target name
The target name can be anything with custom target specs. Matching on fields inside the target spec is much more robust than matching on the target name.
Also remove the unused is_builtin target spec field.8 files changed
+18
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | 948 | | |
962 | | - | |
| 949 | + | |
963 | 950 | | |
964 | | - | |
| 951 | + | |
965 | 952 | | |
966 | 953 | | |
967 | 954 | | |
| |||
1028 | 1015 | | |
1029 | 1016 | | |
1030 | 1017 | | |
1031 | | - | |
1032 | | - | |
1033 | 1018 | | |
1034 | | - | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1035 | 1024 | | |
1036 | 1025 | | |
1037 | 1026 | | |
| |||
1052 | 1041 | | |
1053 | 1042 | | |
1054 | 1043 | | |
1055 | | - | |
| 1044 | + | |
1056 | 1045 | | |
1057 | | - | |
| 1046 | + | |
1058 | 1047 | | |
1059 | 1048 | | |
1060 | 1049 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 88 | + | |
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
| |||
996 | 992 | | |
997 | 993 | | |
998 | 994 | | |
| 995 | + | |
999 | 996 | | |
1000 | 997 | | |
1001 | 998 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
348 | 350 | | |
349 | 351 | | |
350 | 352 | | |
| |||
1195 | 1197 | | |
1196 | 1198 | | |
1197 | 1199 | | |
| 1200 | + | |
| 1201 | + | |
1198 | 1202 | | |
1199 | 1203 | | |
1200 | 1204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1595 | 1595 | | |
1596 | 1596 | | |
1597 | 1597 | | |
1598 | | - | |
| 1598 | + | |
1599 | 1599 | | |
1600 | 1600 | | |
1601 | 1601 | | |
1602 | | - | |
1603 | 1602 | | |
1604 | 1603 | | |
1605 | 1604 | | |
| |||
2128 | 2127 | | |
2129 | 2128 | | |
2130 | 2129 | | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | 2130 | | |
2135 | 2131 | | |
2136 | 2132 | | |
| |||
2606 | 2602 | | |
2607 | 2603 | | |
2608 | 2604 | | |
2609 | | - | |
2610 | 2605 | | |
2611 | 2606 | | |
2612 | 2607 | | |
| |||
3349 | 3344 | | |
3350 | 3345 | | |
3351 | 3346 | | |
3352 | | - | |
3353 | 3347 | | |
3354 | 3348 | | |
3355 | 3349 | | |
| |||
3462 | 3456 | | |
3463 | 3457 | | |
3464 | 3458 | | |
3465 | | - | |
3466 | | - | |
3467 | | - | |
3468 | | - | |
3469 | 3459 | | |
3470 | 3460 | | |
3471 | 3461 | | |
| |||
3635 | 3625 | | |
3636 | 3626 | | |
3637 | 3627 | | |
3638 | | - | |
3639 | 3628 | | |
3640 | 3629 | | |
3641 | 3630 | | |
| |||
Lines changed: 0 additions & 7 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
| |||
0 commit comments