From 50b0e4a6189e216f730577cbac95d711de877bc4 Mon Sep 17 00:00:00 2001 From: STREGA Date: Mon, 25 Mar 2024 21:16:30 -0400 Subject: [PATCH] Update Package.swift --- Package.swift | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/Package.swift b/Package.swift index cf8e0df8..56eac840 100644 --- a/Package.swift +++ b/Package.swift @@ -179,10 +179,15 @@ let package = Package( .enableUpcomingFeature("ExistentialAny"), .enableUpcomingFeature("ForwardTrailingClosures"), .enableUpcomingFeature("ConciseMagicFile"), + .enableUpcomingFeature("DynamicActorIsolation"), + .enableUpcomingFeature("FullTypedThrows"), + .enableUpcomingFeature("InferSendableFromCaptures"), + .enableUpcomingFeature("DeprecateApplicationMain"), .enableExperimentalFeature("AccessLevelOnImport"), // .enableExperimentalFeature("StrictConcurrency"), -// .enableExperimentalFeature("StrictConcurrency=complete"), +// .enableExperimentalFeature("StrictConcurrency=minimal"), + .enableExperimentalFeature("StrictConcurrency=complete"), ]) #endif @@ -223,13 +228,13 @@ let package = Package( //.plugin(name: "SwiftLintPlugin", package: "SwiftLint"), ]), - .target(name: "Shaders", - dependencies: [ - "GameMath", - .product(name: "Collections", package: "swift-collections") - ], swiftSettings: [ - .define("GATEENGINE_DEBUG_SHADERS", .when(configuration: .debug)) - ]), + .target(name: "Shaders", + dependencies: [ + "GameMath", + .product(name: "Collections", package: "swift-collections") + ], swiftSettings: [ + .define("GATEENGINE_DEBUG_SHADERS", .when(configuration: .debug)) + ]), .target(name: "GameMath", swiftSettings: { var array: [SwiftSetting] = []