-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add support for Catalyst #31
Comments
This is a bit more involved. Catalyst adds a new target to LLVM (a so called target tripple). So adding support to This is not part of the default toolchains, however. So if you're interested in this, you have to build rustc from master yourself in order to have a working toolchain with this triple. Then, you can try it out via normal cargo:
I'm not entirely sure if this really works correctly though. I'd love help. So if you're interested, feel free to give it a try and see if it works for you! |
Thanks @terhechte! That looks promising, I will try to compile a toolchain for the triple and see if I can build a binary for |
I've tried to build a toolchain for
Then I tried to build and test a bare-bone crate:
I feel like somehow Appreciate any help :) |
@eyeplum https://github.com/terhechte/rust-catalyst-example Ping me if you have any questions :) |
Any update on this issue? I saw rust-lang/rust#63467 has been merged a long time ago. |
@imWildCat I'm currently using the approach outlined in
|
@terhechte Thank you so much for your reply! It helps me a lot! |
Are you planning to add catalyst support ? |
@Crash22191 |
Any plans for adding support for Catalyst (i.e. UIKitForMac)?
It seems that UIKitForMac is not the same as x86_64, for example, it may require some extra flags to be passed when built.
This thread might provide some useful info: https://forums.developer.apple.com/thread/117229
The text was updated successfully, but these errors were encountered: