diff --git a/.swift-version b/.swift-version index 358e78e6..4ac4fded 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -6.1.0 \ No newline at end of file +6.2.0 \ No newline at end of file diff --git a/Package.swift b/Package.swift index fbe293f1..41bc1e36 100644 --- a/Package.swift +++ b/Package.swift @@ -20,7 +20,8 @@ dep.append( // Enable SubprocessFoundation by default var defaultTraits: Set = ["SubprocessFoundation"] -#if compiler(>=6.2) + +#if compiler(>=6.3) || (compiler(>=6.2) && (os(Linux) || os(Windows) || os(FreeBSD))) // Enable SubprocessSpan when Span is available defaultTraits.insert("SubprocessSpan") #endif