After updating to master 0.17.0-dev.215+8c5542bd3 version.
On windows x86_64-gnu target.
I tried to make the scope smaller here. To immitate.
But it seems the issue is when I link with -lc(libc) it just strips off the DllMain, actually it doesn’t strip it off, it replaces the DllMain with
push rbp
mov rbp, rsp
mov eax, 1
pop rbp
ret
Is this expected?