Skip to content

Commit a45aed6

Browse files
committed
Update Package.swift
1 parent 6c6b528 commit a45aed6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Package.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ let package = Package(
4747
// Replace swift-atomics with an explicit version pending:
4848
// https://github.com/apple/swift/issues/69264
4949
packageDependencies.removeAll(where: {
50-
if case .sourceControl(name: let name, location: "https://github.com/apple/swift-atomics.git", requirement: _) = $0.kind {
50+
if case .sourceControl(name: _, location: "https://github.com/apple/swift-atomics.git", requirement: _) = $0.kind {
5151
return true
5252
}
5353
return false
@@ -56,12 +56,8 @@ let package = Package(
5656
.package(url: "https://github.com/apple/swift-atomics.git", exact: "1.1.0"),
5757
)
5858
packageDependencies.append(contentsOf: [
59-
.package(url: "https://github.com/swiftwasm/WebAPIKit.git", .upToNextMajor(from: "0.1.0"), traits: [
60-
.trait(name: "HTML5", condition: .when(traits: ["HTML5"]))
61-
]),
62-
.package(url: "https://github.com/swiftwasm/JavaScriptKit.git", .upToNextMajor(from: "0.16.0"), traits: [
63-
.trait(name: "HTML5", condition: .when(traits: ["HTML5"]))
64-
]),
59+
.package(url: "https://github.com/swiftwasm/WebAPIKit.git", .upToNextMajor(from: "0.1.0")),
60+
.package(url: "https://github.com/swiftwasm/JavaScriptKit.git", .upToNextMajor(from: "0.16.0")),
6561
])
6662
#endif
6763

@@ -158,6 +154,10 @@ let package = Package(
158154
.when(platforms: [.iOS, .tvOS])),
159155
],
160156
swiftSettings: .default(withCustomization: { settings in
157+
#if false
158+
settings.append(.defaultIsolation(MainActor.self))
159+
#endif
160+
161161
settings.append(
162162
.define("GATEENGINE_USE_OPENAL", .when(platforms: [.linux]))
163163
)

0 commit comments

Comments
 (0)