diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-05-15 13:21:36 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-05-18 17:10:04 +0100 |
| commit | d32829e053af2a0f382d4d692ede85c176c9f803 (patch) | |
| tree | 1b85e5aa9e44648f78a0aa56110cff226136f5a8 /src/libs | |
| parent | a0792e743ff41cf17343fad02bde54240df89419 (diff) | |
| download | zig-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
