aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-06-05 13:23:20 +0100
committermlugg <mlugg@mlugg.co.uk>2025-06-13 16:30:39 +0100
commit14e033ed95a43a5ff994df9dc524e5bc4f34452a (patch)
tree94d91e0eeceff82157e6741c0c386780529ae4d8 /test/behavior/basic.zig
parent5c8b92db7f6e99d075af1cf87d48a5af0c748603 (diff)
downloadzig-14e033ed95a43a5ff994df9dc524e5bc4f34452a.tar.gz
zig-14e033ed95a43a5ff994df9dc524e5bc4f34452a.zip
std.Build.Step.Run: convert relative paths to be relative to child cwd
Because any `LazyPath` might be resolved to a relative path, it's incorrect to pass that directly to a child process whose cwd might differ. Instead, if the child has an overriden cwd, we need to convert such paths to be relative to the child cwd using `std.fs.path.relative`.
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions