Skip to content

[509] Delete the linkage tests #2191

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 13, 2023

Cherry-pick #2189 to 509.


The linkage tests have been causing more issues than they caught issues. And really what we want to test, is that the libraries built for the compiler using CMake don’t have any unexpected dependencies – it doesn’t really matter if the swift-syntax package itself gains a new link dependency.

Furthermore, the test was only checking SwiftSyntax, SwiftParser and SwiftSyntaxBuilder and was missing e.g. SwiftSyntaxMacros.

We should properly test that no dylibs in the toolchain have unintended linkages as part of integration testing in the apple/swift repo.

The linkage tests have been causing more issues than they caught issues. And really what we want to test, is that the libraries built for the compiler using CMake don’t have any unexpected dependencies – it doesn’t really matter if the swift-syntax package itself gains a new link dependency.

Furthermore, the test was only checking `SwiftSyntax`, `SwiftParser` and `SwiftSyntaxBuilder` and was missing e.g. `SwiftSyntaxMacros`.

We should properly test that no dylibs in the toolchain have unintended linkages as part of integration testing in the apple/swift repo.
@ahoppen ahoppen requested a review from bnbarham September 13, 2023 23:12
@ahoppen ahoppen merged commit 7420304 into swiftlang:package-release/509 Sep 13, 2023
@ahoppen ahoppen deleted the ahoppen/509/delete-linkage-tests branch September 13, 2023 23:36
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.

2 participants