aboutsummaryrefslogtreecommitdiff
path: root/lib/std/pdb.zig
diff options
context:
space:
mode:
authorTimon Kruiper <Timon Kruiper@LAPTOP-3V2IS54Q>2020-03-26 13:41:53 +0100
committerTimon Kruiper <Timon Kruiper@LAPTOP-3V2IS54Q>2020-03-27 17:03:06 +0100
commit67e51311c3352ab4b2a381bd90dc386032254058 (patch)
tree1b3b6ccc54f22f4ed56dc8a3126054741ecda9e6 /lib/std/pdb.zig
parentf7f563ea53cf58c772003a46624b87dad9c4311d (diff)
downloadzig-67e51311c3352ab4b2a381bd90dc386032254058.tar.gz
zig-67e51311c3352ab4b2a381bd90dc386032254058.zip
fix behavior test with --test-evented-io on windows
also make simple file operations work asynchronously on windows
Diffstat (limited to 'lib/std/pdb.zig')
-rw-r--r--lib/std/pdb.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/pdb.zig b/lib/std/pdb.zig
index 93fef0b16d..db988fa178 100644
--- a/lib/std/pdb.zig
+++ b/lib/std/pdb.zig
@@ -470,7 +470,7 @@ pub const Pdb = struct {
msf: Msf,
pub fn openFile(self: *Pdb, coff_ptr: *coff.Coff, file_name: []u8) !void {
- self.in_file = try fs.cwd().openFile(file_name, .{});
+ self.in_file = try fs.cwd().openFile(file_name, .{ .always_blocking = true });
self.allocator = coff_ptr.allocator;
self.coff = coff_ptr;