Skip to content

Commit 4563636

Browse files
committed
Fix upstream trunk SwiftPM change on the CI
1 parent 53495a4 commit 4563636

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

swift-android-testing-trunk.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
diff --git a/swiftpm/Sources/PackagePlugin/Plugin.swift b/swiftpm/Sources/PackagePlugin/Plugin.swift
2+
index 232543b66..5589c2346 100644
3+
--- a/swiftpm/Sources/PackagePlugin/Plugin.swift
4+
+++ b/swiftpm/Sources/PackagePlugin/Plugin.swift
5+
@@ -595,7 +595,7 @@ fileprivate enum Library: Sendable {
6+
return LibraryHandle(rawValue: handle)
7+
#else
8+
guard let handle = dlopen(nil, RTLD_NOW | RTLD_LOCAL) else {
9+
- throw LibraryOpenError(message: String(cString: dlerror()))
10+
+ throw LibraryOpenError(message: String(cString: dlerror()!))
11+
}
12+
return LibraryHandle(rawValue: handle)
13+
#endif
114
diff --git a/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake b/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake
215
index 468dc61..a90ae3d 100644
316
--- a/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake

0 commit comments

Comments
 (0)