Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support better cross compilation, as well as other compilers (GCC) #499

Open
madsmtm opened this issue Sep 3, 2023 · 0 comments
Open

Support better cross compilation, as well as other compilers (GCC) #499

madsmtm opened this issue Sep 3, 2023 · 0 comments
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request

Comments

@madsmtm
Copy link
Owner

madsmtm commented Sep 3, 2023

Notably, GCC's libobjc runtime is very old and doesn't have objc_autorelease and similar, but maybe we could still use the limited Objective-C support is has for the few cases where we need it (e.g. the exception catching support)?

Would be especially useful for cross compilation scenarios, e.g. compiling for macOS on a Linux machine (though in that case you're likely to need clang anyhow, so maybe it's not so interesting? Will need some research!)

See also SSheldon/rust-objc-exception#12.

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels Sep 3, 2023
@madsmtm madsmtm mentioned this issue Sep 3, 2023
80 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant