-
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-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 #129807 lands, flutter build windows
will always use the host architecture as the target architecture. In other words, Flutter on an Arm64 machine is unable to create AMD64 executables.
Work
Add a --target-platform
option to flutter build windows
to allow changing the target architecture.
Using the --target-platform
option should produce an error on the "beta" and "stable" release channels.
adil192, JHubi1, michaelnew, isaacy13, maxfornacon and 1 more
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-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