-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Description
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
- Add Windows Arm64 to the
HostPlatform
andTargetPlatform
enums - Update the Flutter Windows plugin templates to show how to use the target architecture to bundle pre-built libraries
- If on Arm64 host and the "beta" or "stable" release channels, produce a warning that an x64 executable will be built.
- If on Arm64 host and the "master" release channel,
- Use
Abi.current()
to determine the target architecture - Download Windows Arm64 artifacts
- Use
- Update Windows Arm64 devicelab tests: build, run, benchmark
hiru-vnmacwilko
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