aboutsummaryrefslogtreecommitdiff
path: root/src/libs
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-05-15 13:21:36 +0100
committermlugg <mlugg@mlugg.co.uk>2025-05-18 17:10:04 +0100
commitd32829e053af2a0f382d4d692ede85c176c9f803 (patch)
tree1b85e5aa9e44648f78a0aa56110cff226136f5a8 /src/libs
parenta0792e743ff41cf17343fad02bde54240df89419 (diff)
downloadzig-d32829e053af2a0f382d4d692ede85c176c9f803.tar.gz
zig-d32829e053af2a0f382d4d692ede85c176c9f803.zip
std.Build.Cache: change contract of `addFilePostContents`
This function was broken, because it took ownership of the buffer on error *sometimes*, in a way which the caller could not tell. Rather than trying to be clever, it's easier to just follow the same interface as all other `addFilePost` methods, and not take ownership of the path. This is a breaking change. The next commits will apply it to the compiler, which is the only user of this function in the ziglang/zig repository.
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions