mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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:
@@ -16,7 +16,7 @@
|
||||
#ifndef SWIFT_C_BINARY_SCAN_IMPL_H
|
||||
#define SWIFT_C_BINARY_SCAN_IMPL_H
|
||||
|
||||
#include "swift-c/DependencyScan/BinaryScan.h"
|
||||
#include "swift-c/StaticMirror/BinaryScan.h"
|
||||
|
||||
namespace swift {
|
||||
namespace static_mirror {
|
||||
@@ -24,10 +24,10 @@ class BinaryScanningTool;
|
||||
}
|
||||
} // namespace swift
|
||||
|
||||
struct swiftscan_conformance_info_s {
|
||||
swiftscan_string_ref_t type_name;
|
||||
swiftscan_string_ref_t mangled_type_name;
|
||||
swiftscan_string_ref_t protocol_name;
|
||||
struct swift_static_mirror_conformance_info_s {
|
||||
swift_static_mirror_string_ref_t type_name;
|
||||
swift_static_mirror_string_ref_t mangled_type_name;
|
||||
swift_static_mirror_string_ref_t protocol_name;
|
||||
};
|
||||
|
||||
#endif // SWIFT_C_BINARY_SCAN_IMPL_H
|
||||
|
||||
Reference in New Issue
Block a user