You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[5.9] PackageModel: honour .librarian for toolsets (#6770)
Cherry-pick of #6688.
When defining a custom toolset, a specified librarian shall be given precedence over the platform's librarian. Use this to repair the toolset test on Windows where `ar` is unavailable. This test used to succeed due to the leaking of the host tools.
This fixes a bug reproducible when cross-compiling projects with dependencies to any platform, including Linux.
Risk: low, only affects cross-compilation with SwiftPM, which is not widely used yet.
(cherry picked from commit 4d63d66)
Co-authored-by: Saleem Abdulrasool <[email protected]>
0 commit comments