-
Notifications
You must be signed in to change notification settings - Fork 67
Objective-C ffigen should test against all Apple APIs #1183
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
Comments
There are 4383 headers across 255 frameworks in my Apple SDKs directory (matching So instead of pulling in all these headers as a glob, I'm going to add one framework at a time until something breaks. |
There's one more bug that needs to be fixed before this can land: #1220 |
Tried running this test on the github CI bots in #1554. Unfortunately they don't really have enough memory to run this test without thrashing (see dart-lang/sdk#56247). So what should be a 30sec analysis times out after 30min. I added a randomized filter that removes 90% of the bindings, and that allows the test to complete. |
There should be an integration test that runs ffigen against all of Apple's headers and verifies that the resulting generated file passes analysis.
Bonus points for spot-checking that some complex classes, protocols, etc. are usable.
The text was updated successfully, but these errors were encountered: