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

Parse framework TBD (yaml) files in swift-bindgen crate #9

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simlay
Copy link

@simlay simlay commented Jun 13, 2024

There's a good chance this isn't the correct approach but I'm gonna give it a try.

I've decided to take a look at the Swift tbd files. These are basically headers for dylibs in yaml form. Things like libswiftCore.tbd have a bunch of mangled names. To demangle the names, I use a swift function to get the demangled name, I call this function from rust but compile the swift source for that in a build script.

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.

None yet

1 participant