Support cross-compiling Windows binaries on Linux
This defines another mutator between HostOrDevice and Arch that will
expand host modules into a module for each host type
(Darwin/Linux/Windows) that is currently being built.
Change-Id: I4c8ac6b616c229f6bd45ad8a35902652fb6a4fff
diff --git a/cc/arm64_device.go b/cc/arm64_device.go
index 4acb218..9d58a80 100644
--- a/cc/arm64_device.go
+++ b/cc/arm64_device.go
@@ -155,5 +155,5 @@
}
func init() {
- registerToolchainFactory(common.Device, common.Arm64, arm64ToolchainFactory)
+ registerDeviceToolchainFactory(common.Arm64, arm64ToolchainFactory)
}