Skip to content

Commit 8b46709

Browse files
authored
TSUtility: deprecated Triple type (#399)
Since all known TSC clients define their own `Triple` type or use one from libSwiftPM, it makes sense to deprecate this one.
1 parent a47ef13 commit 8b46709

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/TSCUtility/Triple.swift

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import TSCBasic
2020
/// @see Destination.target
2121
/// @see https://github.com/apple/swift-llvm/blob/stable/include/llvm/ADT/Triple.h
2222
///
23+
@available(*, deprecated, message: "use `Basics.Triple` if you're libSwiftPM client, create application-specific `Triple` type otherwise")
2324
public struct Triple: Encodable, Equatable, Sendable {
2425
public let tripleString: String
2526

0 commit comments

Comments
 (0)