Repository navigation
Conversation
ktoso
force-pushed
the
ktoso/split-swift-extract
branch
from
November 7, 2026 08:01
4d1b7fd to
c24ba38
Compare
The `SwiftExtract` library (and `SwiftExtractConfigurationShared`, the `_StaticBuildConfigPlugin` build tool, and `SwiftExtractTests`) moved to https://github.com/swiftlang/swift-binding-generator-core, where it is separately versioned so other binding generators can use it without the Java tooling. - Depend on the new package the same way we depend on swift-java-jni-core: `branch: "main"`, overridable locally with `SWIFT_BINDING_GENERATOR_CORE_PATH`, pinned to a tag by `scripts/release.sh` at release time. - The release script fetches the latest generator tag the same way it does for jni-core, and now fails early with a clear message when the generator repo has no tag yet, so a release always pins a specific compatible version (the jq query uses `// empty` since an empty tag list yields null). - Remove the moved products, targets and sources. - `Plugins/PluginsShared/SwiftExtractConfigurationShared` becomes a vendored byte-identical copy (plugins cannot take sources from a dependency); the compatibility job in swift-binding-generator-core diffs it against its sources. - Copy the stdlib/SwiftSyntax convenience helpers jextract uses into `JExtractSwiftLib/Convenience` as `package` (they stay non-public API).
ktoso
force-pushed
the
ktoso/split-swift-extract
branch
from
November 7, 2026 08:03
c24ba38 to
ff58ae4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
SwiftExtractmodule moved to swiftlang/swift-binding-generator-core. This is in order to facilitate new language targets sharing a common Swift "analysis" core.This PR makes us depend on that separate package, and allows overriding for local development with
SWIFT_BINDING_GENERATOR_CORE_PATH, same as for swift-java-jni-core.