File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import PackageDescription
44
55let defaultSwiftSettings : [ SwiftSetting ] =
66 [
7- . swiftLanguageMode( . v6) ,
87 . enableExperimentalFeature(
98 " AvailabilityMacro=LambdaSwift 2.0:macOS 15.0 "
109 ) ,
Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ let defaultSwiftSettings: [SwiftSetting] = [
66 . define( " FoundationJSONSupport " ) ,
77 . define( " ServiceLifecycleSupport " ) ,
88 . define( " LocalServerSupport " ) ,
9- . swiftLanguageMode( . v6) ,
9+ . enableExperimentalFeature(
10+ " AvailabilityMacro=LambdaSwift 2.0:macOS 15.0 "
11+ ) ,
1012]
1113
1214let package = Package (
1315 name: " swift-aws-lambda-runtime " ,
14- platforms: [ . macOS( . v15) ] ,
1516 products: [
1617 . library( name: " AWSLambdaRuntime " , targets: [ " AWSLambdaRuntime " ] ) ,
1718 // plugin to package the lambda, creating an archive that can be uploaded to AWS
@@ -70,7 +71,8 @@ let package = Package(
7071 . product( name: " NIOHTTP1 " , package : " swift-nio " ) ,
7172 . product( name: " NIOCore " , package : " swift-nio " ) ,
7273 . product( name: " NIOPosix " , package : " swift-nio " ) ,
73- ]
74+ ] ,
75+ swiftSettings: defaultSwiftSettings
7476 ) ,
7577 ]
7678)
You can’t perform that action at this time.
0 commit comments