We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d549a7 + e396273 commit 520f829Copy full SHA for 520f829
driver/main.cpp
@@ -852,6 +852,7 @@ void registerPredefinedTargetVersions() {
852
if (triple.getEnvironment() == llvm::Triple::Android) {
853
VersionCondition::addPredefinedGlobalIdent("Android");
854
VersionCondition::addPredefinedGlobalIdent("CRuntime_Bionic");
855
+ VersionCondition::addPredefinedGlobalIdent("CppRuntime_Clang");
856
} else if (triple.isMusl()) {
857
VersionCondition::addPredefinedGlobalIdent("CRuntime_Musl");
858
VersionCondition::addPredefinedGlobalIdent("CppRuntime_Gcc");
runtime/druntime/src/core/stdcpp/new_.d
@@ -39,7 +39,7 @@ extern (C++, "std")
39
{
40
@nogc:
41
///
42
- this() { super("bad allocation", 1); }
+ extern(D) this() { super("bad allocation", 1); }
43
}
44
45
0 commit comments