mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Dependency Scanning][C++ Interop] Avoid 'CxxStdlib' overlay lookup for binary Swift dependencies which were not built with C++ interop
In addition to skipping it on textual Swift module dependencies which were built without C++ interop enabled, also skip it over similarly on binary Swift dependencies
This commit is contained in:
@@ -56,6 +56,8 @@ using IsFrameworkField = BCFixed<1>;
|
||||
using IsSystemField = BCFixed<1>;
|
||||
/// A bit that indicates whether or not a module is that of a static archive
|
||||
using IsStaticField = BCFixed<1>;
|
||||
/// A bit that indicates whether or not a module is built with C++ interop
|
||||
using IsBuiltWithCxxInteropField = BCFixed<1>;
|
||||
/// A bit that indicates whether or not a link library is a force-load one
|
||||
using IsForceLoadField = BCFixed<1>;
|
||||
/// A bit that indicates whether or not an import statement is optional
|
||||
@@ -267,6 +269,7 @@ using SwiftBinaryModuleDetailsLayout =
|
||||
SearchPathArrayIDField, // serializedSearchPaths
|
||||
IsFrameworkField, // isFramework
|
||||
IsStaticField, // isStatic
|
||||
IsBuiltWithCxxInteropField, // IsBuiltWithCxxInterop
|
||||
IdentifierIDField, // moduleCacheKey
|
||||
IdentifierIDField // UserModuleVersion
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user