> On 05/04/2021 21:43 Iain Buclaw <ibuc...@gdcproject.org> wrote: > > > Hi, > > This patch adds TARGET_D_HAS_STDCALL_CONVENTION as a new D front-end > target hook. It replaces the use of the D front-end `is64bit' parameter > in determining whether to insert the "stdcall" function attribute. > > It is also used to determine whether `extern(System)' should be the same > as `extern(Windows)' in the implementation of Target::systemLinkage. > > Both are prerequesites for being able to compile libphobos on MinGW. > > Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and > tested on x86_64-w64-mingw64 for getting the libphobos port set-up. > > Any issues with the implementation, or OK to commit? >
As I've seen no objections, this has been committed to mainline. Regards, Iain.