Skip to content

Commit fd5efb4

Browse files
committed
workaround DCD linker error
1 parent df3f780 commit fd5efb4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/dparse/parser.d

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9174,3 +9174,12 @@ protected: final:
91749174
bool[typeof(Token.index)] cachedAAChecks;
91759175
bool[typeof(Token.index)] cachedTypeChecks;
91769176
}
9177+
9178+
private void profileGCLinkerErrorWorkaround()
9179+
{
9180+
// This works around `dub build --build=profile-gc --config=server` failing
9181+
// with a linker error in DCD with dmd 2.102.2.
9182+
// Root cause should eventually be looked up.
9183+
uint[] workaround;
9184+
workaround ~= 1;
9185+
}

0 commit comments

Comments
 (0)