zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit bc377183ce687ab186ed1544d01f9680eee55f45 (tree)
parent bc2f7c7547dce95dfd1aa00e377ae9f366825177
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Wed, 14 May 2025 21:18:26 +0200

reduce: Fix build due to std.mem.Alignment changes.

Closes #23884.

Diffstat:
Mlib/compiler/reduce.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/compiler/reduce.zig b/lib/compiler/reduce.zig @@ -403,7 +403,7 @@ fn parse(gpa: Allocator, file_path: []const u8) !Ast { file_path, std.math.maxInt(u32), null, - 1, + .fromByteUnits(1), 0, ) catch |err| { fatal("unable to open '{s}': {s}", .{ file_path, @errorName(err) });