Skip to content

Commit

Permalink
fix: std.os.getenv -> std.posix.getenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Techatrix committed Mar 21, 2024
1 parent 055c95a commit decb6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion known-folders.zig
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub fn getPath(allocator: std.mem.Allocator, folder: KnownFolder) Error!?[]const
return try allocator.dupe(u8, abs);
},
.suffix => |s| {
const home_dir = if (std.os.getenv("HOME")) |home|
const home_dir = if (std.posix.getenv("HOME")) |home|
home
else
return null;
Expand Down

0 comments on commit decb6bd

Please sign in to comment.