mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ParseableInterface] Distinguish SDK and non-SDK dependencies
This allows the SDK to be relocated without automatically resulting in a rebuild. Based on an old patch from Jordan Rose.
This commit is contained in:
@@ -52,7 +52,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
|
||||
/// describe what change you made. The content of this comment isn't important;
|
||||
/// it just ensures a conflict if two people change the module format.
|
||||
/// Don't worry about adhering to the 80-column limit for this line.
|
||||
const uint16_t SWIFTMODULE_VERSION_MINOR = 483; // Remove default arg expansion
|
||||
const uint16_t SWIFTMODULE_VERSION_MINOR = 484; // SDK-relative dependencies flag
|
||||
|
||||
using DeclIDField = BCFixed<31>;
|
||||
|
||||
@@ -687,6 +687,7 @@ namespace input_block {
|
||||
FileSizeField, // file size (for validation)
|
||||
FileModTimeOrContentHashField, // mtime or content hash (for validation)
|
||||
BCFixed<1>, // are we reading mtime (0) or hash (1)?
|
||||
BCFixed<1>, // SDK-relative?
|
||||
BCBlob // path
|
||||
>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user