Commit 4a190cc
committed
fix(xlings): drop a ranges spelling that crashed the clang 20 frontend
Windows CI: `clang++: error: clang frontend command failed due to signal`,
with the diagnostic file named subos_info-*.cppm. No message beyond the
signal, so the offending construct is identified by removal rather than by a
compiler telling us.
The one exotic thing in the file was `std::ranges::find` with a member-pointer
projection into std::pair; `std::ranges::sort` went with it for the same
reason. Both are replaced by plain loops, which nothing here needed to be
fancier than.
Ruled out first: importing mcpp.platform, added in the previous commit and the
only other change to this file between the run that failed a test assertion
and the run that crashed the compiler. Four modules already import
mcpp.libs.json and mcpp.platform together (bmi_cache, stdmod, post_install,
prepare), so that combination is not it.
Stated plainly because it matters for the next person: this is a hypothesis
confirmed only by CI going green, not by a local reproduction. The crash needs
clang 20.1.7 targeting MSVC and I have no such host.1 parent e1dbc79 commit 4a190cc
1 file changed
Lines changed: 15 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
225 | | - | |
226 | | - | |
227 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
228 | 234 | | |
229 | 235 | | |
230 | 236 | | |
| |||
0 commit comments