Skip to content

Commit dd62d3b

Browse files
authored
Merge pull request #1028 from DougGregor/syntax-builder-linkage
Verify linkage of SwiftSyntaxBuilder
2 parents 03a3ed6 + 8ea36f6 commit dd62d3b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Tests/SwiftParserTest/LinkageTests.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ final class LinkageTest: XCTestCase {
4848
.library("-lswift_Concurrency"),
4949
.library("-lswift_StringProcessing", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")),
5050
])
51+
52+
try assertLinkage(of: "SwiftSyntaxBuilder", in: baseURL, assertions: [
53+
.library("-lobjc"),
54+
.library("-lswiftCompatibility51", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")),
55+
.library("-lswiftCompatibility56", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")),
56+
.library("-lswiftCompatibilityConcurrency"),
57+
.library("-lswiftCore"),
58+
.library("-lswiftSwiftOnoneSupport", condition: .when(configuration: .debug)),
59+
.library("-lswift_Concurrency"),
60+
.library("-lswift_StringProcessing", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")),
61+
])
62+
5163
}
5264
}
5365

0 commit comments

Comments
 (0)