Commit 9dbfc30
committed
Split
This commit repurposes the bootstrap `Build::tool_enabled` helper to
just check the set of enabled tools. The preexisting check for
`extended` as well is refactored to a separate method
`Build::extended_tool_enabled`.
The purpose for this change is to support
`./x.py test --target wasm32-wasip2` which requires the
`wasm-component-ld` tool unconditionally regardless of whether
`extended` is supported or not.Build::tool_enabled to with/without extended
1 parent d829133 commit 9dbfc30
2 files changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
| 813 | + | |
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | | - | |
| 1035 | + | |
| 1036 | + | |
1036 | 1037 | | |
1037 | 1038 | | |
1038 | 1039 | | |
| |||
1089 | 1090 | | |
1090 | 1091 | | |
1091 | 1092 | | |
1092 | | - | |
1093 | | - | |
| 1093 | + | |
| 1094 | + | |
1094 | 1095 | | |
1095 | 1096 | | |
1096 | 1097 | | |
| |||
1176 | 1177 | | |
1177 | 1178 | | |
1178 | 1179 | | |
1179 | | - | |
| 1180 | + | |
1180 | 1181 | | |
1181 | 1182 | | |
1182 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1485 | 1485 | | |
1486 | 1486 | | |
1487 | 1487 | | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1488 | 1493 | | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | 1494 | | |
1493 | 1495 | | |
1494 | 1496 | | |
| |||
0 commit comments