Skip to content

Tweak example to call UIApplicationMain from Zig directly - #2

Merged
kubkon merged 3 commits into
mainfrom
zig-code
Aug 9, 2021
Merged

kubkon merged 3 commits into
mainfrom
zig-code

Conversation

@kubkon

@kubkon kubkon commented Aug 8, 2021

Copy link
Copy Markdown
Owner

Also, while at it, let's obtain the label's title by calling Zig's exported function too, why the heck not.

cc @jmrico01 I think this is what you were after with #1? Correct me if I'm wrong please. Also, the linking errors you were seeing are now solved in the Zig's branch ziglang/zig#9532.

@jmrico01

jmrico01 commented Aug 9, 2021

Copy link
Copy Markdown

Yes, this is exactly what I was after! My iOS Metal app can now be fully built by Zig, all in the build.zig config.

THANK YOU !!

@kubkon
kubkon merged commit aa0f07a into main Aug 9, 2021
@kubkon
kubkon deleted the zig-code branch August 9, 2021 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants