windows: add ARM64 support

This was actually surprising once I got TinyGo to build on Windows 11
ARM64. All the changes are exactly what you'd expect for a new
architecture, there was no special weirdness just for arm64.

Actually getting TinyGo to build was kind of involved though. The very
short summary is: install arm64 versions of some pieces of software
(like golang, cmake) instead of installing them though choco. In
particular, use the llvm-mingw[1] toolchain instead of using standard
mingw.

[1]: https://github.com/mstorsjo/llvm-mingw/releases
This commit is contained in:
Ayke van Laethem
2023-01-29 03:33:37 -08:00
committed by Ron Evans
parent 45c8817ddd
commit df0f5ae1da
11 changed files with 206 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build scheduler.tasks && arm64
//go:build scheduler.tasks && arm64 && !windows
package task