Skip to content

Use the prefix swift_testing_ for future exported symbols. #1238

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

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Jul 24, 2025

This PR updates our naming guidelines for exported/public C symbols. Right now, the only functions that would qualify are swt_abiv0_getEntryPoint() and swt_copyABIEntryPoint_v0() and their names must be preserved for binary compatibility with Xcode 16 through Xcode 26 anyway.

Thus, this change is a documentation change only.

Resolves #1064.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR updates our naming guidelines for exported/public C symbols. Right now,
the only functions that would qualify are `swt_abiv0_getEntryPoint()` and
`swt_copyABIEntryPoint_v0()` and their names must be preserved for binary
compatibility with Xcode 16 through Xcode 26 anyway.

Thus, this change is a documentation change only.

Resolves #1064.
@grynspan grynspan added this to the Swift 6.x (main) milestone Jul 24, 2025
@grynspan grynspan self-assigned this Jul 24, 2025
@grynspan grynspan added documentation 📚 Improvements or additions to documentation tools integration 🛠️ Integration of swift-testing into tools/IDEs public-api Affects public API labels Jul 24, 2025
@grynspan
Copy link
Contributor Author

Documentation only, skipping CI.

@grynspan grynspan merged commit 5fecefc into main Jul 24, 2025
@grynspan grynspan deleted the jgrynspan/1064-prefix branch July 24, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📚 Improvements or additions to documentation public-api Affects public API tools integration 🛠️ Integration of swift-testing into tools/IDEs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change swt_ prefix to swift_testing_
3 participants