This commit is contained in:
Mitchell Hashimoto
2024-08-18 19:34:11 -07:00
parent ea0e3057ca
commit 00f642a28f

View File

@ -35,7 +35,7 @@ pub const Location = enum {
arena_alloc, arena_alloc,
.{ .subdir = subdir }, .{ .subdir = subdir },
) catch |err| { ) catch |err| {
// We need to do some comptime trick sot get the right // We need to do some comptime tricks to get the right
// error set since some platforms don't support some // error set since some platforms don't support some
// error types. // error types.
const Error = @TypeOf(err) || switch (builtin.os.tag) { const Error = @TypeOf(err) || switch (builtin.os.tag) {