Skip to content

Commit 29a18e3

Browse files
committed
chore: Update minimum_zig_version to 0.15.0-dev.375+8f8f37fb0
1 parent aa99754 commit 29a18e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.{
22
.name = .dipm,
33
.version = "0.30.2",
4-
.minimum_zig_version = "0.14.0",
4+
.minimum_zig_version = "0.15.0-dev.375+8f8f37fb0",
55
.fingerprint = 0xce3a2bf46fc8eacf,
66
.dependencies = .{},
77
.paths = .{

src/InstalledPackages.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub fn deinit(pkgs: *InstalledPackages, gpa: std.mem.Allocator) void {
2727
}
2828

2929
pub fn parseFromFile(gpa: std.mem.Allocator, file: std.fs.File) !InstalledPackages {
30-
const data_str = try file.readToEndAllocOptions(gpa, std.math.maxInt(usize), null, 1, 0);
30+
const data_str = try file.readToEndAllocOptions(gpa, std.math.maxInt(usize), null, .@"1", 0);
3131
defer gpa.free(data_str);
3232

3333
var res = try parse(gpa, data_str);

src/Packages.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn download(options: DownloadOptions) !Packages {
7878
try pkgs_file.seekTo(0);
7979
}
8080

81-
const string = try pkgs_file.readToEndAllocOptions(options.gpa, std.math.maxInt(usize), null, 1, 0);
81+
const string = try pkgs_file.readToEndAllocOptions(options.gpa, std.math.maxInt(usize), null, .@"1", 0);
8282
defer options.gpa.free(string);
8383

8484
try pkgs.parseInto(options.gpa, string);
@@ -97,7 +97,7 @@ pub fn parseFromPath(
9797
}
9898

9999
pub fn parseFile(gpa: std.mem.Allocator, file: std.fs.File) !Packages {
100-
const string = try file.readToEndAllocOptions(gpa, std.math.maxInt(usize), null, 1, 0);
100+
const string = try file.readToEndAllocOptions(gpa, std.math.maxInt(usize), null, .@"1", 0);
101101
defer gpa.free(string);
102102

103103
return parse(gpa, string);

0 commit comments

Comments
 (0)