| author | |
| committer | |
| log | 8efcfeaf1e6db6e26d31132bbd2eb3317d9749bf |
| tree | a666814c55617d816a96da9a90f6b9277fc13a70 |
| parent | 923ddd94a1419abfa9ab95718a7b7d2a8da7a5ec |
Until I can do more testing, we bump the numbers until morale improves.2 files changed, 2 insertions(+), 2 deletions(-)
src/link.zig+1-1| ... | ... | @@ -622,7 +622,7 @@ pub const File = struct { |
| 622 | 622 | error.AccessDenied => switch (builtin.os.tag) { |
| 623 | 623 | .windows => { |
| 624 | 624 | // give the kernel a chance to finish closing the executable handle |
| 625 | std.os.windows.kernel32.Sleep(0); | |
| 625 | std.os.windows.kernel32.Sleep(1); | |
| 626 | 626 | continue; |
| 627 | 627 | }, |
| 628 | 628 | else => return error.AccessDenied, |
test/standalone/windows_spawn/main.zig+1-1| ... | ... | @@ -74,7 +74,7 @@ pub fn main() anyerror!void { |
| 74 | 74 | for (0..2) |_| break tmp.dir.rename("hello.exe", "hello") catch |err| switch (err) { |
| 75 | 75 | error.AccessDenied => { |
| 76 | 76 | // give the kernel a chance to finish closing the executable handle |
| 77 | std.os.windows.kernel32.Sleep(0); | |
| 77 | std.os.windows.kernel32.Sleep(1); | |
| 78 | 78 | continue; |
| 79 | 79 | }, |
| 80 | 80 | else => |e| return e, |