aboutsummaryrefslogtreecommitdiff
path: root/test/behavior
diff options
context:
space:
mode:
authorxEgoist <egoist@egoistic.dev>2022-10-07 14:00:48 -0500
committerAndrew Kelley <andrew@ziglang.org>2022-10-15 11:05:15 -0400
commitae39e7867db8053cd0538da10e144bf86bce4eba (patch)
tree9be029846cd6af428dc6d5dabec4b113ec70cc5b /test/behavior
parentb4e3424594aecbd5a038d7c3a9e1e01c66a239ee (diff)
downloadzig-ae39e7867db8053cd0538da10e144bf86bce4eba.tar.gz
zig-ae39e7867db8053cd0538da10e144bf86bce4eba.zip
Added os check for std.fs.setAsCwd() to work with windows
Due to the unavailability of fchdir in Windows, a call for setting the CWD needs to either call chdir with the path string or call SetCurrentDirectory. Either way, since we are dealing with a Handle in Windows, a call for GetFinalPathNameByHandle is necessary for getting the file path first.
Diffstat (limited to 'test/behavior')
0 files changed, 0 insertions, 0 deletions