Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit addfbeb

Browse files
ibuclawGeod24
authored andcommitted
object: Don't compile in argTypes on all GNU targets
1 parent 6f715ee commit addfbeb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/object.d

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ version (D_ObjectiveC)
4444
version (Posix) public import core.attribute : gnuAbiTag;
4545

4646
// Some ABIs use a complex varargs implementation requiring TypeInfo.argTypes().
47-
version (X86_64)
47+
version (GNU)
48+
{
49+
// No TypeInfo-based core.vararg.va_arg().
50+
}
51+
else version (X86_64)
4852
{
4953
version (DigitalMars) version = WithArgTypes;
5054
else version (Windows) { /* no need for Win64 ABI */ }

0 commit comments

Comments
 (0)