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
Building the PackageDescription module from swiftpm's main branch on Linux gives
/home/docker_user/src/lsp/sourcekit-lsp/.build/checkouts/swift-package-manager/Sources/PackageDescription/PackageDescription.swift:19:8: warning: module 'Foundation' was not compiled with library evolution support; using it means binary compatibility for 'PackageDescription' can't be guaranteed
import Foundation
^
This was seen while building sourcekit-lsp with the following patch to add a dependency on PackageDescription: swiftlang/sourcekit-lsp#405
The text was updated successfully, but these errors were encountered:
This is almost certainly due to a recent fix to allow PackageDescription and PackagePlugin to be built from source using SwiftPM itself, so they can be built Universal on Darwin platforms. This required adding `--enable-library-evolution` to the target declaration for PackageDescription and PackagePlugin.
This interacts badly with an unintentional reexporting of Foundation symbols in PackageDescription, which was fixed in #3404 but then had to be reverted in #3476. At least until we can reintroduce that fix, we probably will need to disable library evolution on non-Darwin platforms here.
Reverts 1998284 / swiftlang#3526
Related to SR-14718 (swiftlang#4416).
Since swiftlang#3526 was merged, swiftlang#5874 tried to apply the original idea of using
`@_implementationOnly Foundation` in PackageDescription/Plugin to avoid
leaking `Foundation` into the manifests.
…#6157)
Reverts 1998284 / #3526
Related to SR-14718 (#4416).
Since #3526 was merged, #5874 tried to apply the original idea of using
`@_implementationOnly Foundation` in PackageDescription/Plugin to avoid
leaking `Foundation` into the manifests.
Environment
Swift Docker tag swift:5.4.1
Additional Detail from JIRA
md5: c45978a9bcc03cd70fb0898f8c80d7e6
Issue Description:
Building the PackageDescription module from swiftpm's main branch on Linux gives
This was seen while building sourcekit-lsp with the following patch to add a dependency on PackageDescription: swiftlang/sourcekit-lsp#405
The text was updated successfully, but these errors were encountered: