diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-06-05 13:23:20 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-06-13 16:30:39 +0100 |
| commit | 14e033ed95a43a5ff994df9dc524e5bc4f34452a (patch) | |
| tree | 94d91e0eeceff82157e6741c0c386780529ae4d8 /test/behavior/switch_loop.zig | |
| parent | 5c8b92db7f6e99d075af1cf87d48a5af0c748603 (diff) | |
| download | zig-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/switch_loop.zig')
0 files changed, 0 insertions, 0 deletions
