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

ABI Tracking #557

Open
migueldeicaza opened this issue Oct 3, 2024 · 0 comments
Open

ABI Tracking #557

migueldeicaza opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@migueldeicaza
Copy link
Owner

Need a tool to compare an ABI, before and after a change is done, so we can show this alongside a GitHub PR to determine when and how we change the API to avoid disrupting users.

From a Slack discussion, some tools we could use:

swiftc -emit-module-interface-path MyModule.swiftinterface MyModule.swift?

swiftc \
  -emit-module \
  -emit-module-path MyModule.swiftmodule \
  -emit-module-interface \
  -emit-module-interface-path MyModule.swiftinterface \
  -module-name MyModule \
  *.swift

Another alternative is: https://github.com/swiftlang/swift-docc-symbolkit?tab=readme-ov-file

@migueldeicaza migueldeicaza added the enhancement New feature or request label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant