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.
ae39e7867dxEgoist committed on 10/15/2022, 3:05:15 PM· committed by Andrew Kelleyparentb4e3424
1 file changedLine totals unavailable