Feedback was light, overall positive, and fully agreeing that this solves an important problem. The Platform Steering Group was in full support of this proposal. Therefore, SE-0482 has been accepted.
I'd like to thank the proposal authors and the reviewers for contributing to Swift.
Great to see this proposal being accepted! I'm wondering if this feature is expected to land in Swift 6.2 , or do we have any rough timeline on when it might become available?
The implementation in SE-0482 are two PRs, one still in draft, but neither merged - and the release branch for 6.2 has already been cut.
I personally wouldn't expect to see this hit until at least Swift 6.3, and that's assuming that there aren't additional complications found during final implementation and merging all this into place.
Yes this is where we did the actual implementation, we never updated the proposal. It's going to be in 6.2 although the opt-in auditing tool has not been finalized.
I needed this feature so bad, so I looked up the forum, and here I am. I wanted to say that I’ve just tested it successfully with the latest 6.2 snapshot on Linux, I’ll try Windows next. Looking forward to the stable release, this is a game-changer. Thank you.
Yep, I’ve just stumbled upon it. A cosmetic thing I noticed so far, which I’m sure you’re aware of, is that SPM requires the “lib” prefix in say “libfoobar.lib”, but then lld-link looks for “foobar.lib”.
That’s interesting. We have the opposite problem with the swift-syntax prebuilts. SwiftPM generates libfoobar.a and the native linker, link.exe, wants the suffix to be .lib. lld-link is fine with .a. We’ll need to straighten out that story when we get closer to completing the –build-system swiftbuild transition.