Skip to content

Commit ec2e9fa

Browse files
authored
Fix the compiler version check for Span availability (#204)
1 parent 640b21c commit ec2e9fa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.1.0
1+
6.2.0

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ dep.append(
2020

2121
// Enable SubprocessFoundation by default
2222
var defaultTraits: Set<String> = ["SubprocessFoundation"]
23-
#if compiler(>=6.2)
23+
24+
#if compiler(>=6.3) || (compiler(>=6.2) && (os(Linux) || os(Windows) || os(FreeBSD)))
2425
// Enable SubprocessSpan when Span is available
2526
defaultTraits.insert("SubprocessSpan")
2627
#endif

0 commit comments

Comments
 (0)