diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-10-11 09:59:58 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-10-11 10:01:17 -0400 |
| commit | 8efcfeaf1e6db6e26d31132bbd2eb3317d9749bf (patch) | |
| tree | a666814c55617d816a96da9a90f6b9277fc13a70 /src/link.zig | |
| parent | 923ddd94a1419abfa9ab95718a7b7d2a8da7a5ec (diff) | |
| download | zig-8efcfeaf1e6db6e26d31132bbd2eb3317d9749bf.tar.gz zig-8efcfeaf1e6db6e26d31132bbd2eb3317d9749bf.zip | |
windows: workaround kernel race condition better
Until I can do more testing, we bump the numbers until morale improves.
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig index 9edd58109c..6863420d63 100644 --- a/src/link.zig +++ b/src/link.zig @@ -622,7 +622,7 @@ pub const File = struct { error.AccessDenied => switch (builtin.os.tag) { .windows => { // give the kernel a chance to finish closing the executable handle - std.os.windows.kernel32.Sleep(0); + std.os.windows.kernel32.Sleep(1); continue; }, else => return error.AccessDenied, |
