I think @wils is trying to cross-compile via mingw, but AFAIK just setting `-d:mingw` is not always enough to use mingw for cross compilation.
- Problem compiling ASM code with vars in Mac M1 wils
- Problem compiling ASM code with vars in Mac M1 Araq
- Problem compiling ASM code with vars in Mac M1 Yardanico