MobileNativeFoundation / rules_xcodeproj

Bazel rules for generating Xcode projects.
MIT License
519 stars 82 forks source link

Fix tree artifact `File` handling in incremental generation #2905

Closed brentleyjones closed 7 months ago

brentleyjones commented 7 months ago

Fixes #2904.

We fix our handling by using a null-character terminator instead of encoding the number of paths. This is because at analysis time we can’t rely on the number of elements in a depset, as they might expand to more elements at execution if any of the elements are tree artifacts.

Added an example by Wiley that exercises the previous failure case.