Fix bugzilla issue 24623: Rename CppRuntime_Clang/Gcc to CppRuntime_libcpp/libstdcpp. Add libcpp and libstdcpp -target= option recognition.

This commit is contained in:
Johan Engelen 2024-06-22 11:38:46 +02:00
parent 1d8f290318
commit 349b493810
21 changed files with 75 additions and 62 deletions

View file

@ -5,7 +5,7 @@ import core.stdc.stdio;
// Disabled on windows because it needs bindings
version (CppRuntime_Clang)
version (CppRuntime_libcpp)
{
extern(C++, `std`, `__1`)
{

View file

@ -455,7 +455,7 @@ extern (C++, std)
{
}
version (CppRuntime_Gcc)
version (CppRuntime_libstdcpp)
{
// https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
static if (__traits(getTargetInfo, "cppStd") >= 201103)