Skip to content

Commit 191e27b

Browse files
authored
Fix compile on macOS (#559)
We need to require ServiceLifecycle 2.8.0.
1 parent d8ee71f commit 191e27b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let package = Package(
3333
.package(url: "https://github.com/apple/swift-nio.git", from: "2.81.0"),
3434
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.4"),
3535
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.4"),
36-
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.6.3"),
36+
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.8.0"),
3737
],
3838
targets: [
3939
.target(

[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let package = Package(
2323
.package(url: "https://github.com/apple/swift-nio.git", from: "2.81.0"),
2424
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.4"),
2525
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.4"),
26-
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.6.3"),
26+
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.8.0"),
2727
],
2828
targets: [
2929
.target(

Tests/AWSLambdaRuntimeTests/LambdaLocalServerTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import Testing
2222
extension LambdaRuntimeTests {
2323

2424
@Test("Local server respects LOCAL_LAMBDA_PORT environment variable")
25+
@available(LambdaSwift 2.0, *)
2526
func testLocalServerCustomPort() async throws {
2627
let customPort = 8080
2728

0 commit comments

Comments
 (0)