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
Replace ProcessEnv.vars with block w/o API breakage (#7390)
This fixes some `ProcessEnv.vars` warnings without more intrusive
breaking changes for SwiftPM clients, as previously attempted in
#7364.
Also fixed some formatting inconsistencies.
@@ -645,7 +646,12 @@ public class BuildPlan: SPMBuildCore.BuildPlan {
645
646
extensionBasics.Diagnostic{
646
647
staticvarswiftBackDeployError:Self{
647
648
.warning(
648
-
"Swift compiler no longer supports statically linking the Swift libraries. They're included in the OS by default starting with macOS Mojave 10.14.4 beta 3. For macOS Mojave 10.14.3 and earlier, there's an optional Swift library package that can be downloaded from \"More Downloads\" for Apple Developers at https://developer.apple.com/download/more/"
649
+
"""
650
+
Swift compiler no longer supports statically linking the Swift libraries. They're included in the OS by \
651
+
default starting with macOS Mojave 10.14.4 beta 3. For macOS Mojave 10.14.3 and earlier, there's an \
652
+
optional Swift library package that can be downloaded from \"More Downloads\" for Apple Developers at \
653
+
https://developer.apple.com/download/more/
654
+
"""
649
655
)
650
656
}
651
657
@@ -728,7 +734,7 @@ extension ResolvedProduct {
728
734
}
729
735
730
736
privatevarisBinaryOnly:Bool{
731
-
returnself.targets.filter({ !($0.underlying is BinaryTarget)}).isEmpty
737
+
self.targets.filter{ !($0.underlying is BinaryTarget)}.isEmpty
0 commit comments