File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed
Plugins/AWSLambdaPackager
Sources/AWSLambdaRuntimeCore Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ let package = Package(
2121 . library( name: " AWSLambdaTesting " , targets: [ " AWSLambdaTesting " ] ) ,
2222 ] ,
2323 dependencies: [
24- . package ( url: " https://github.com/apple/swift-nio.git " , . upToNextMajor( from: " 2.43.1 " ) ) ,
25- . package ( url: " https://github.com/apple/swift-log.git " , . upToNextMajor( from: " 1.4.2 " ) ) ,
24+ . package ( url: " https://github.com/apple/swift-nio.git " , . upToNextMajor( from: " 2.67.0 " ) ) ,
25+ . package ( url: " https://github.com/apple/swift-log.git " , . upToNextMajor( from: " 1.5.4 " ) ) ,
2626 . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.0.0 " ) ,
2727 ] ,
2828 targets: [
Original file line number Diff line number Diff line change @@ -16,8 +16,16 @@ import Dispatch
1616import Foundation
1717import PackagePlugin
1818
19- #if canImport(Glibc)
19+ #if os(macOS)
20+ import Darwin
21+ #elseif canImport(Glibc)
2022import Glibc
23+ #elseif canImport(Musl)
24+ import Musl
25+ #elseif os(Windows)
26+ import ucrt
27+ #else
28+ #error("Unsupported platform")
2129#endif
2230
2331@main
Original file line number Diff line number Diff line change 1212//
1313//===----------------------------------------------------------------------===//
1414
15- #if os(Linux)
15+ #if os(macOS)
16+ import Darwin. C
17+ #elseif canImport(Glibc)
1618import Glibc
19+ #elseif canImport(Musl)
20+ import Musl
21+ #elseif os(Windows)
22+ import ucrt
1723#else
18- import Darwin . C
24+ #error("Unsupported platform")
1925#endif
2026
2127#if swift(<5.9)
You can’t perform that action at this time.
0 commit comments