Skip to content
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

Update dependencies, Xcode version and minimum deployment target #530

Merged
merged 15 commits into from
Nov 27, 2023

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Nov 23, 2023

No description provided.

The versions supported by Rust was updated in rust-lang/rust#104385 to:
- macOS: 10.12 Sierra
- iOS: 10.0
- tvOS: 10.0
- watchOS: 5.0

Additionally, the armv7-apple-ios target was removed.

Finally, since v1.0.84 of `cc` (has been yanked, but 1.0.85 will include it as well), there is much better support for specifying the deployment target for Apple targets, so I've removed the corresponding code from objc-sys.
@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates A-framework Affects the framework crates and the translator for them labels Nov 23, 2023
@madsmtm madsmtm force-pushed the update branch 3 times, most recently from bfd09a5 to 1f241be Compare November 23, 2023 07:12
Comment on lines +13 to +14
pop {r7, lr}
b _objc_retainAutoreleasedReturnValue
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the fast autoreleasing may have been broken by this change on armv7s-apple-ios :(.

Unsure how to fix that?

Comment on lines +304 to +311
| / declare_class!(
| | struct CustomObject;
| |
| | unsafe impl ClassType for CustomObject {
... |
| | }
| | );
| |_^ the trait `MessageReceiver` is not implemented for `CustomObject`
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find that the compiler is often changing between these two, unfortunately we've gotten the worse end of the stick currently.

@@ -61,7 +61,7 @@ unstable-exception = ["cc"]
unstable-docsrs = []

[build-dependencies]
cc = { version = "1", optional = true }
cc = { version = "1.0.80", optional = true }
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be 1.0.84, but that was yanked, so we'll just suggest a high value for now.

@madsmtm madsmtm force-pushed the update branch 2 times, most recently from 2dbf3e2 to 041c030 Compare November 23, 2023 08:21
@madsmtm madsmtm marked this pull request as ready for review November 23, 2023 08:38
@madsmtm madsmtm merged commit 71bd307 into master Nov 27, 2023
47 checks passed
@madsmtm madsmtm deleted the update branch November 27, 2023 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-framework Affects the framework crates and the translator for them A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant