File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -45,3 +45,9 @@ let package = Package(
45
45
) ,
46
46
]
47
47
)
48
+
49
+ for target in package . targets {
50
+ var settings = target. swiftSettings ?? [ ]
51
+ settings. append ( . enableExperimentalFeature( " StrictConcurrency=complete " ) )
52
+ target. swiftSettings = settings
53
+ }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public protocol StructuredFieldValue: Codable {
22
22
}
23
23
24
24
/// The kinds of header fields used in HTTP Structured Headers.
25
- public enum StructuredFieldType {
25
+ public enum StructuredFieldType : Sendable {
26
26
/// An item field consists of a single item, optionally with parameters.
27
27
case item
28
28
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ struct Flags {
21
21
init ( ) {
22
22
// Default to item
23
23
self . headerType = . item
24
+ let arguments = ProcessInfo . processInfo. arguments
24
25
25
- for argument in CommandLine . arguments. dropFirst ( ) {
26
+ for argument in arguments. dropFirst ( ) {
26
27
switch argument {
27
28
case " --dictionary " :
28
29
self . headerType = . dictionary
You can’t perform that action at this time.
0 commit comments