bazelbuild / rules_swift

Bazel rules to build Swift on Apple and Linux platforms
Apache License 2.0
309 stars 133 forks source link

"Inline" the functions in `derived_files` #1239

Closed brentleyjones closed 2 months ago

brentleyjones commented 2 months ago

Most of these functions are only called from one location, and the rest are called from two. This is another bottleneck file that causes overly broad cache invalidation when it changes.

PiperOrigin-RevId: 449504840 (cherry picked from commit c72168298732bebf9d4072e511f292448484fcd1)