Open rauhul opened 2 months ago
Known compiler issue since the new libraries were added in the Foundation rewrite, swiftlang/swift-foundation#872, which is fixed in the upcoming 6.0.3 patch release. If you need it earlier, feel free to nominate that linked fix for 6.0.2 too and poke the release managers to get it in. 😉
A new Swift 6.0 Oct. 8 snapshot tag was just released with the linked fix: try it and see if it fixes most of the duplication for you.
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?swift build
,swift test
,swift package
etc.Description
Here's an example command produced by swiftpm when linking a test product on linux:
Expected behavior
Each
-l<lib>
should be passed once.Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
No response
Swift & OS version (output of
swift --version ; uname -a
)No response