diff --git a/src/configuration.zig b/src/configuration.zig index e81f4e588..b46883bcf 100644 --- a/src/configuration.zig +++ b/src/configuration.zig @@ -241,9 +241,6 @@ pub fn findZig(allocator: std.mem.Allocator) !?[]const u8 { var it = std.mem.tokenize(u8, env_path, &[_]u8{std.fs.path.delimiter}); while (it.next()) |path| { - if (builtin.os.tag == .windows) { - if (std.mem.indexOfScalar(u8, path, '/') != null) continue; - } const full_path = try std.fs.path.join(allocator, &[_][]const u8{ path, zig_exe }); defer allocator.free(full_path);