aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-11-20 15:06:14 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-11-22 20:57:56 -0700
commitd24aaf8847336e12b6571e13d57f6d112452d97d (patch)
treea806cdf1d5dc112af321ff54041a4f7f9a247020 /src
parent21bd13626d66c36c327bb317bd09cad979d92327 (diff)
downloadzig-d24aaf8847336e12b6571e13d57f6d112452d97d.tar.gz
zig-d24aaf8847336e12b6571e13d57f6d112452d97d.zip
std.fs.path.resolve: eliminate getcwd() syscall
This is a breaking change to the API. Instead of the first path implicitly being the current working directory, it now asserts that the number of paths passed is greater than zero. Importantly, it never calls getcwd(); instead, it can possibly return ".", or a series of "../". This changes the error set to only be `error{OutOfMemory}`. closes #13613
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions