update more "realpath" callsites

This commit is contained in:
Andrew Kelley 2025-12-21 17:17:11 -08:00
parent 51a6f3a525
commit 70e19ea353
4 changed files with 13 additions and 6 deletions

View file

@ -134,7 +134,7 @@ fn fetchTarget(
) !void {
const tmp_filename = "macos-headers";
const headers_list_filename = "macos-headers.o.d";
const tmp_path = try tmp.dir.realpathAlloc(arena, ".");
const tmp_path = try tmp.dir.realPathFileAlloc(io, ".", arena);
const tmp_file_path = try Dir.path.join(arena, &[_][]const u8{ tmp_path, tmp_filename });
const headers_list_path = try Dir.path.join(arena, &[_][]const u8{ tmp_path, headers_list_filename });