We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OSSignpost.swift
1 parent 583c593 commit 3d08211Copy full SHA for 3d08211
Sources/Basics/OSSignpost.swift
@@ -2,7 +2,7 @@
2
//
3
// This source file is part of the Swift open source project
4
5
-// Copyright (c) 2023 Apple Inc. and the Swift project authors
+// Copyright (c) 2023-2024 Apple Inc. and the Swift project authors
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
8
// See http://swift.org/LICENSE.txt for license information
@@ -11,10 +11,12 @@
11
//===----------------------------------------------------------------------===//
12
13
#if canImport(os)
14
+#if compiler(>=6.0)
15
+import os
16
+#else
17
@preconcurrency import os
18
#endif
19
-#if canImport(os)
20
extension os.OSLog {
21
@usableFromInline
22
static let swiftpm = os.OSLog(subsystem: "org.swift.swiftpm", category: "default")
0 commit comments