swiftlang / swift-foundation

The Foundation project
Apache License 2.0
2.4k stars 159 forks source link

[6.0.x] Fix windows creation of relative symlinks to directories #940

Closed jmschonfeld closed 1 month ago

jmschonfeld commented 1 month ago

Explanation: Fixes creation of relative symlinks to directories on Windows to resolve SwiftPM issues Scope: Fixes a path calculation while creating symlinks to directories Original PR: https://github.com/swiftlang/swift-foundation/pull/931 Risk: Low - only impacts Windows and the change is heavily tested via unit tests Testing: Testing done via swift-ci testing and local testing Reviewer: @iCharlesHu @compnerd

jmschonfeld commented 1 month ago

@swift-ci please test