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
**Explanation**: Macros cross-compiled by SwiftPM with Swift SDKs should
be correctly built, loaded, and evaluated for the host triple.
**Scope**: isolated to modules dependency resolution and llbuild, does
not impact code related to XCBuild.
**Risk**: medium, known issues were addressed on `main` and are
cherry-picked here, with no new issues reported for a few weeks now.
**Testing**: added unit tests, manual end-to-end testing done with
existing Swift SDKs.
**Issue**: rdar://105991372
**Reviewers**: @bnbarham@xedin@neonichu
(cherry picked from commit cb3b085,
#7353)
```
# Conflicts:
# CHANGELOG.md
# Sources/Build/BuildDescription/SwiftTargetBuildDescription.swift
# Sources/Build/BuildManifest/LLBuildManifestBuilder.swift
# Sources/Build/BuildPlan/BuildPlan.swift
# Sources/Commands/SwiftTestCommand.swift
# Sources/Commands/Utilities/PluginDelegate.swift
# Sources/Commands/Utilities/TestingSupport.swift
# Sources/PackageGraph/ModulesGraph+Loading.swift
# Sources/PackageGraph/ModulesGraph.swift
# Sources/SPMTestSupport/MockBuildTestHelper.swift
# Sources/SPMTestSupport/MockPackageGraphs.swift
# Sources/SPMTestSupport/PackageGraphTester.swift
# Sources/SPMTestSupport/ResolvedTarget+Mock.swift
# Tests/BuildTests/ClangTargetBuildDescriptionTests.swift
# Tests/BuildTests/CrossCompilationBuildPlanTests.swift
# Tests/SourceKitLSPAPITests/SourceKitLSPAPITests.swift
```
(cherry picked from commit b9eb3c1,
#7493)
```
# Conflicts:
# Sources/PackageGraph/ModulesGraph+Loading.swift
# Sources/PackageGraph/Resolution/ResolvedPackage.swift
```
(cherry picked from commit 5a4c024,
#7508)
```
# Conflicts:
# Sources/Commands/SwiftBuildCommand.swift
# Sources/Commands/SwiftTestCommand.swift
# Sources/Commands/Utilities/TestingSupport.swift
```
(cherry picked from commit 8db2401,
#7519)
```
# Conflicts:
# Tests/BuildTests/CrossCompilationBuildPlanTests.swift
```
---------
Co-authored-by: Jonathan Grynspan <[email protected]>
Co-authored-by: Ben Barham <[email protected]>
Co-authored-by: Yuta Saito <[email protected]>
Co-authored-by: Pavel Yaskevich <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,18 @@ Swift 6.0
27
27
28
28
`// swift-tools-version:` can now be specified on subsequent lines of `Package.swift`, for example when first few lines are required to contain a licensing comment header.
29
29
30
+
*[#7118]
31
+
32
+
Macros cross-compiled by SwiftPM with Swift SDKs are now correctly built, loaded, and evaluated for the host triple.
33
+
30
34
Swift 5.10
31
35
-----------
36
+
32
37
*[#7010]
33
38
34
39
On macOS, `swift build` and `swift run` now produce binaries that allow backtraces in debug builds. Pass `SWIFT_BACKTRACE=enable=yes` environment variable to enable backtraces on such binaries when running them.
35
40
36
-
*[7101]
41
+
*[#7101]
37
42
38
43
Binary artifacts are now cached along side repository checkouts so they do not need to be re-downloaded across projects.
0 commit comments