-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Tracking issue for RFC 2837: "Demote Apple 32bit targets to Tier 3" #67724
Comments
I will write the implementation PRs shortly. Edit: done! |
From rust-lang/rfcs#2837 (comment) (not sure where discussion belongs) I'm late, but... Apple does continue to support 32-bit for iOS devices and the simulator. Using Catalina and Xcode 11.3 with a deployment target set to iOS 10.0 or earlier, I can build an app for i386 and armv7. If I download the iOS 10 simulator and set the simulated device to "iPhone 5", I can run that i386 binary in the simulator on Catalina. iOS 11 was the first release to go 64-bit only, but plenty of apps continue to support iOS 10.0 or below which may run on both 32-bit and 64-bit devices. |
@fpotter hmm, that wouldn't help with the Anyway, I don't feel Apple will keep 32-bit iOS support forever, and reducing support for everything related to 32-bit Apple in one sweep is probably better. |
@pietroalbini Right, removing I just think dropping 32-bit iOS is a little premature. iOS supported 32-bit as recently as iOS 10 (released in 2016). They sold new 32-bit devices into 2015 (i.e. original iPad Mini, iPhone 5c). I work on an iOS framework that uses Rust and currently supports down to iOS 9.0. For us, removal of 32-bit support means we'll need to bump our minimum supported iOS version to iOS 11.0. Or, we can keep supporting iOS 10 and below, but ask our customers to restrict their supported devices to 64-bit only. By comparison, many other popular iOS libraries are slow to remove old iOS versions. e.g. Firebase (>= iOS 9.0), Facebook (>= iOS 8.0), Mixpanel (>= iOS 8.0), Crashlytics (>= iOS 7.0). |
As I understand it, nothing is being dropped here, just that our level of support is decreasing. This means that you'd have to use a tool to compile the standard library for those platforms locally instead of getting it from rustup. |
The error message from rustup (1.21.1) is a bit unfortunate:
It doesn't say which I'm not sure what the behavior will be on stable/beta. Is it a hard error? Or does it print the same |
@kinnison can we improve the error message by including the target name? |
Yes, we probably could... I've filed rust-lang/rustup#2191 |
Component history fixed by @LeSeulArtichaut in rust-lang/rustup-components-history#13 |
This shipped in 1.42.0! Thanks everybody who helped with this effort! |
This is a tracking issue for the RFC "Demote Apple 32bit targets to Tier 3" (rust-lang/rfcs#2837).
Steps:
Steps after Rust 1.42 is released:
The text was updated successfully, but these errors were encountered: