Remove BasicLinkerIsCompilerMixin from LDC and DMD

These compilers invoke external linkers and have the appropriate .linker
property set. Therefore, BasicLinkerIsCompilerMixin appears to be
misplaced.

It used to work by chance, because BasicLinkerIsCompilerMixin failed to
override the get_allow_undefined_link_args method. The D compilers do
not provide their own get_allow_undefined_link_args, because they expect
to inherit it from Compiler, which simply delegates it to the linker.

Now that BasicLinkerIsCompilerMixin correctly overrides that method with
a stub, it broke compilers that relied on the buggy behavior.
pull/6042/head
Andrei Alexeyev 5 years ago committed by Dylan Baker
parent dd162dccaa
commit 5e3eff9d72
Loading…
Cancel
Save