mingw.zig: fix logic to add crt sources

The current version of code uses isARM to check if we are compiling to any arm target then checks the target bit width to either add the 32-bit sources or 64-bit source.  However, isARM only returns true for 32-bit targets, and isAARCH64 is for the 64-bit targets.

I also replaced the unreachable with a @panic when we receive an unsupported arch because this code is reachable and should turn into an error.
f28868e8fdJonathan Marler committed on 8/21/2021, 5:40:07 PM· committed by Veikka Tuominenparent27e3216
1 file changedLine totals unavailable