Commit d633c46
test runner: build dshell harness with compiler under test
The dshell prebuilt library and per-test driver were built with the host
compiler (e.g. LDC 1.23 on the VisualD CI), which is too old to parse the
current druntime/Phobos sources (short '=>' function bodies etc.), causing
parse errors when their imports were analyzed. They also import Phobos and
link against each other, so build both with the compiler under test using
PHOBOS_DFLAGS instead, matching the pre-druntime-only behaviour.
Also strip the benign LNK4255 'multiple objects of the same name' linker
warning: druntime.lib is built as one 'dmd -lib' archive and contains
several objects sharing a basename (memory.obj etc.), so the MS linker
warns when linking with -g, leaking into tests that expect no output.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent e349d67 commit d633c46
2 files changed
Lines changed: 23 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
340 | 341 | | |
341 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
342 | 347 | | |
343 | | - | |
| 348 | + | |
| 349 | + | |
344 | 350 | | |
345 | 351 | | |
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| 355 | + | |
| 356 | + | |
349 | 357 | | |
350 | 358 | | |
351 | 359 | | |
| |||
359 | 367 | | |
360 | 368 | | |
361 | 369 | | |
362 | | - | |
| 370 | + | |
363 | 371 | | |
364 | 372 | | |
365 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1845 | 1845 | | |
1846 | 1846 | | |
1847 | 1847 | | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
1848 | 1854 | | |
1849 | 1855 | | |
1850 | 1856 | | |
| |||
2355 | 2361 | | |
2356 | 2362 | | |
2357 | 2363 | | |
2358 | | - | |
2359 | | - | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
2360 | 2369 | | |
2361 | 2370 | | |
2362 | 2371 | | |
2363 | 2372 | | |
2364 | 2373 | | |
2365 | 2374 | | |
2366 | | - | |
| 2375 | + | |
2367 | 2376 | | |
2368 | 2377 | | |
2369 | 2378 | | |
| |||
2377 | 2386 | | |
2378 | 2387 | | |
2379 | 2388 | | |
2380 | | - | |
2381 | | - | |
2382 | | - | |
2383 | | - | |
2384 | 2389 | | |
2385 | 2390 | | |
2386 | | - | |
| 2391 | + | |
2387 | 2392 | | |
2388 | 2393 | | |
2389 | 2394 | | |
| |||
0 commit comments