diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-08 19:41:21 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:08 -0800 |
| commit | ebdbbd20ace6e93b581b90075f52946b3832da93 (patch) | |
| tree | 09fb393f4a4578512ddf4906c7df14df5f6f9255 /lib/std/Build/Step/Run.zig | |
| parent | 3725f72293c87a73e0c11e74739574c7b78bb53d (diff) | |
| download | zig-ebdbbd20ace6e93b581b90075f52946b3832da93.tar.gz zig-ebdbbd20ace6e93b581b90075f52946b3832da93.zip | |
update makeDir() sites to specify permissions
Diffstat (limited to 'lib/std/Build/Step/Run.zig')
| -rw-r--r-- | lib/std/Build/Step/Run.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Step/Run.zig b/lib/std/Build/Step/Run.zig index e52dd21a96..19d2e7e61c 100644 --- a/lib/std/Build/Step/Run.zig +++ b/lib/std/Build/Step/Run.zig @@ -1044,7 +1044,7 @@ fn make(step: *Step, options: Step.MakeOptions) !void { b.cache_root.handle.rename(tmp_dir_path, b.cache_root.handle, o_sub_path, io) catch |err| { if (err == error.PathAlreadyExists) { - b.cache_root.handle.deleteTree(o_sub_path) catch |del_err| { + b.cache_root.handle.deleteTree(io, o_sub_path) catch |del_err| { return step.fail("unable to remove dir '{f}'{s}: {t}", .{ b.cache_root, tmp_dir_path, del_err, }); |
