-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Disallow flutter run
-ing on 32-bit development devices
#97339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disallow flutter run
-ing on 32-bit development devices
#97339
Conversation
Hmm I guess this needs to wait a few months...?
|
I will mark this as draft then |
948e3ce
to
9b6444d
Compare
9b6444d
to
7cce7eb
Compare
This is ready for review! |
@@ -302,7 +302,8 @@ class IOSDevice extends Device { | |||
} | |||
|
|||
@override | |||
bool isSupported() => true; | |||
// 32-bit devices are not supported. | |||
bool isSupported() => cpuArchitecture == DarwinArch.arm64; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this never get called with cpuArchitecture == x64
on simulators?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is in IOSDevice
which is for physical devices. Simulators are handled here:
bool isSupported() { |
Waiting for @zanderso to say go post branch alignment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Being a little over cautious: As soon as the current g3 roll lands and sticks we can start on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is safe to land, and overall we're safe to proceed with removing support.
32-bit iOS tests have been removed from the devicelab: #97148.
Fixes #97329.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.