mirror of
https://github.com/apple/swift-foundation.git
synced 2025-05-25 23:48:33 +08:00
Use the Windows APIs properly to compute the current working directory. Query the required storage before performing the allocation and then use temporary storage to acquire a buffer. This repairs some of the build errors encountered when building on Windows.