Skip to content

Commit

Permalink
Update to Swift 5.3 and support app extensions (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
atdrendel authored Apr 29, 2021
1 parent 5f54cb0 commit b4d0049
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repositoryURL": "https://github.com/shareup/cwasm3.git",
"state": {
"branch": null,
"revision": "10c6530a759b2a0f46be76a34b6b9a65fd079616",
"revision": "da60d7f032fd5be33053d51eb0d855b95ea163f1",
"version": "0.4.9"
}
},
Expand Down
15 changes: 11 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.3
import PackageDescription

let package = Package(
Expand All @@ -15,7 +15,7 @@ let package = Package(
.package(
name: "CWasm3",
url: "https://github.com/shareup/cwasm3.git",
from: "0.4.7"),
from: "0.4.9"),
.package(
name: "Synchronized",
url: "https://github.com/shareup/synchronized.git",
Expand All @@ -27,9 +27,16 @@ let package = Package(
dependencies: [
"CWasm3",
.product(name: "SynchronizedDynamic", package: "Synchronized"),
]),
],
cSettings: [.define("APPLICATION_EXTENSION_API_ONLY", to: "YES")]),
.testTarget(
name: "WasmInterpreterTests",
dependencies: ["WasmInterpreter"]),
dependencies: ["WasmInterpreter"],
exclude: [
"Resources/constant.wat",
"Resources/memory.wat",
"Resources/fib64.wat",
"Resources/imported-add.wat",
"Resources/add.wat"]),
]
)

0 comments on commit b4d0049

Please sign in to comment.