mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Build libSwiftStaticMirror as a standalone library with minimal required dependencies.
This separates it from `libSwiftScan` and allows us to build this library without building much of the rest of the compiler. Also refactor `utils/build-parser-lib` into `utils/build-tooling-libs` which builds both SwiftSyntaxParser and SwiftStaticMirror.
This commit is contained in:
@@ -44,7 +44,7 @@ TEST_F(ScanTest, TestTargetInfoQuery) {
|
||||
llvm::errs() << "\nERROR:" << targetInfo.getError().message() << "\n";
|
||||
}
|
||||
|
||||
auto targetInfoStr = std::string(get_C_string(targetInfo.get()));
|
||||
auto targetInfoStr = std::string(swift::c_string_utils::get_C_string(targetInfo.get()));
|
||||
EXPECT_NE(targetInfoStr.find("\"triple\": \"x86_64-apple-macosx12.0\""), std::string::npos);
|
||||
EXPECT_NE(targetInfoStr.find("\"librariesRequireRPath\": false"), std::string::npos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user