Update list of Swift runtime libraries to be de-duplicated, so the autolink-extract tool doesn't repeat them over and over again (#76224)

This commit is contained in:
finagolfin
2024-09-17 05:06:05 +05:30
committed by GitHub
parent 142df19324
commit 8fe0fd1781

View File

@@ -228,7 +228,7 @@ int autolink_extract_main(ArrayRef<const char *> Args, const char *Argv0,
"-lswiftCore",
"-lswift_Concurrency",
"-lswift_StringProcessing",
"-lswift_RegexBuilder",
"-lswiftRegexBuilder",
"-lswift_RegexParser",
"-lswift_Backtracing",
"-lswiftSynchronization",
@@ -250,12 +250,9 @@ int autolink_extract_main(ArrayRef<const char *> Args, const char *Argv0,
"-lcurl",
"-lxml2",
"-luuid",
"-lTesting",
// XCTest runtime libs (must be first due to http://github.com/apple/swift-corelibs-xctest/issues/432)
"-lXCTest",
// ICU Swift runtime libs
"-licui18nswift",
"-licuucswift",
"-licudataswift",
// Common-use ordering-agnostic Linux system libs
"-lm",
"-lpthread",