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:
@@ -53,7 +53,7 @@ llvm::ErrorOr<swiftscan_string_ref_t> getTargetInfo(ArrayRef<const char *> Comma
|
||||
std::string ResultStr;
|
||||
llvm::raw_string_ostream StrOS(ResultStr);
|
||||
swift::targetinfo::printTargetInfo(Invocation, StrOS);
|
||||
return create_clone(ResultStr.c_str());
|
||||
return c_string_utils::create_clone(ResultStr.c_str());
|
||||
}
|
||||
|
||||
DependencyScanningTool::DependencyScanningTool()
|
||||
|
||||
Reference in New Issue
Block a user