mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 17:11:44 +03:00

... to -link-defaultlib-debug (with alias for backwards compatibility). -link-defaultlib-shared is to be used for switching between static and shared default libs to be linked with. It defaults to true when generating shared libraries (if shared druntime/Phobos are supported for the target, i.e., not for Windows). This is a benign breaking change!
10 lines
640 B
Makefile
10 lines
640 B
Makefile
// On Windows, re-test dmd-testsuite's runnable\eh.d with all 4 MS C runtime variants.
|
|
// In case of failures, it's very likely that the EH terminate hook in druntime's
|
|
// ldc.eh.msvc.msvc_eh_terminate() needs to be adapted.
|
|
|
|
// REQUIRES: Windows
|
|
|
|
// RUN: %ldc -mscrtlib=libcmt -run "%S\..\d2\dmd-testsuite\runnable\eh.d"
|
|
// RUN: %ldc -mscrtlib=libcmtd -link-defaultlib-debug -run "%S\..\d2\dmd-testsuite\runnable\eh.d"
|
|
// RUN: %ldc -mscrtlib=msvcrt -link-defaultlib-debug -run "%S\..\d2\dmd-testsuite\runnable\eh.d"
|
|
// RUN: %ldc -mscrtlib=msvcrtd -run "%S\..\d2\dmd-testsuite\runnable\eh.d"
|