-
Notifications
You must be signed in to change notification settings - Fork 30.2k
[Windows Arm64] Update tool to target Arm64 on Arm64 hosts #129807
Copy link
Copy link
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopplatform-host-armBuilding on an ARM-based platformBuilding on an ARM-based platformplatform-target-armTargeting an ARM-based platformTargeting an ARM-based platformplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-windowsTriaged by the Windows platform teamTriaged by the Windows platform team
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopplatform-host-armBuilding on an ARM-based platformBuilding on an ARM-based platformplatform-target-armTargeting an ARM-based platformTargeting an ARM-based platformplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-windowsTriaged by the Windows platform teamTriaged by the Windows platform team
Background
See: https://flutter.dev/go/windows-arm64
Once #129805 lands, Arm64 hosts will be able to build x64 executables. These executables run using x64 emulation.
Solution
HostPlatformandTargetPlatformenumsAbi.current()to determine the target architecture