mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Teach swift how to serialize its input into CAS to create a cache key for compiler outputs. To compute the cache key for the output, it first needs to compute a base-key for the compiler invocation. The base key is computed from: swift compiler version and the command-line arguments for the invocation. Each compiler output from swift will gets its own key. The key for the output is computed from: the base key for the compiler invocation + the primary input for the output + the output type.
2.8 KiB
2.8 KiB