Skip to content

Commit

Permalink
update swift-semver to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Sep 14, 2023
1 parent f4fd171 commit b350d77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/gwynne/swift-semver",
"state" : {
"revision" : "2be090a869475ce818a8ecc17093505485e3ccb8",
"version" : "0.2.0-alpha.1"
"revision" : "fa2e77b914a6bcca38edc83c1a921893f6e77650",
"version" : "1.0.0-beta.1"
}
},
{
Expand Down
19 changes: 6 additions & 13 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,18 @@ let upcomingFeaturesSwiftSettings: [SwiftSetting] = [
/// `ImportObjcForwardDeclarations` not enabled because it's objc-related.
]

let targetsSwiftSettings: [SwiftSetting] =
upcomingFeaturesSwiftSettings + [
let targetsSwiftSettings: [SwiftSetting] = upcomingFeaturesSwiftSettings + [
/// https://github.com/apple/swift/issues/67214
.unsafeFlags(["-Xllvm", "-vectorize-slp=false"], .when(platforms: [.linux], configuration: .release)),

/// `minimal` / `targeted` / `complete`
/// The only things incompatible with `complete` in Penny are the globally-modifiable vars.
.unsafeFlags(["-strict-concurrency=complete"]),
]

let testsSwiftSettings: [SwiftSetting] =
upcomingFeaturesSwiftSettings + [
/// `minimal` / `targeted` / `complete`
/// The only things incompatible with `complete` in Penny are the globally-modifiable vars.
.unsafeFlags(["-strict-concurrency=targeted"])
]
let testsSwiftSettings: [SwiftSetting] = upcomingFeaturesSwiftSettings + [
/// `minimal` / `targeted` / `complete`
.unsafeFlags(["-strict-concurrency=targeted"])
]

extension PackageDescription.Target {
static func lambdaTarget(
Expand Down Expand Up @@ -91,10 +87,7 @@ let package = Package(
.package(url: "https://github.com/soto-project/soto.git", from: "7.0.0-alpha.1"),
.package(url: "https://github.com/soto-project/soto-core.git", from: "7.0.0-alpha.2"),
.package(url: "https://github.com/apple/swift-markdown.git", branch: "main"),
.package(
url: "https://github.com/gwynne/swift-semver",
from: "0.2.0-alpha.1"
),
.package(url: "https://github.com/gwynne/swift-semver.git", from: "1.0.0-beta.1"),
.package(
url: "https://github.com/swift-server/swift-aws-lambda-runtime.git",
exact: "1.0.0-alpha.1"
Expand Down

0 comments on commit b350d77

Please sign in to comment.