Skip to content

Don't hard-code numeric representations of ABI versions. #968

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
Feb 20, 2025

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Feb 20, 2025

This PR replaces some hard-coded ABI version numbers (-1, 0, and 1) with symbolic references. It also removes a common code path between the Xcode 16-compatible C entry point and the formal "v0" one so that deleting the Xcode 16 legacy paths will be easier later.

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 replaces some hard-coded ABI version numbers (`-1`, `0`, and `1`) with
symbolic references. It also removes a common code path between the
Xcode 16-compatible C entry point and the formal "v0" one so that deleting
the Xcode 16 legacy paths will be easier later.
@grynspan grynspan added bug 🪲 Something isn't working tools integration 🛠️ Integration of swift-testing into tools/IDEs labels Feb 20, 2025
@grynspan grynspan added this to the Swift 6.x milestone Feb 20, 2025
@grynspan grynspan self-assigned this Feb 20, 2025
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 5b60b0a into main Feb 20, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/no-hardcoded-abi-numbers branch February 20, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working tools integration 🛠️ Integration of swift-testing into tools/IDEs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants