File tree Expand file tree Collapse file tree 4 files changed +0
-46
lines changed
Sources/Build/BuildDescription Expand file tree Collapse file tree 4 files changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,6 @@ public final class ClangModuleBuildDescription {
42
42
/// The build parameters.
43
43
let buildParameters : BuildParameters
44
44
45
- /// The destination for while this module is built.
46
- public var destination : BuildParameters . Destination {
47
- self . buildParameters. destination
48
- }
49
-
50
45
/// The build environment.
51
46
var buildEnvironment : BuildEnvironment {
52
47
buildParameters. buildEnvironment
Original file line number Diff line number Diff line change @@ -121,15 +121,6 @@ public enum ModuleBuildDescription: SPMBuildCore.ModuleBuildDescription {
121
121
}
122
122
}
123
123
124
- var destination : BuildParameters . Destination {
125
- switch self {
126
- case . swift( let buildDescription) :
127
- buildDescription. destination
128
- case . clang( let buildDescription) :
129
- buildDescription. destination
130
- }
131
- }
132
-
133
124
var toolsVersion : ToolsVersion {
134
125
switch self {
135
126
case . swift( let buildDescription) :
@@ -148,14 +139,3 @@ public enum ModuleBuildDescription: SPMBuildCore.ModuleBuildDescription {
148
139
}
149
140
}
150
141
}
151
-
152
- extension ModuleBuildDescription : Identifiable {
153
- public struct ID : Hashable {
154
- let moduleID : ResolvedModule . ID
155
- let destination : BuildParameters . Destination
156
- }
157
-
158
- public var id : ID {
159
- ID ( moduleID: self . module. id, destination: self . destination)
160
- }
161
- }
Original file line number Diff line number Diff line change @@ -37,11 +37,6 @@ public final class ProductBuildDescription: SPMBuildCore.ProductBuildDescription
37
37
/// The build parameters.
38
38
public let buildParameters : BuildParameters
39
39
40
- /// The destination for while this product is built.
41
- public var destination : BuildParameters . Destination {
42
- self . buildParameters. destination
43
- }
44
-
45
40
/// All object files to link into this product.
46
41
///
47
42
// Computed during build planning.
@@ -402,17 +397,6 @@ public final class ProductBuildDescription: SPMBuildCore.ProductBuildDescription
402
397
}
403
398
}
404
399
405
- extension ProductBuildDescription : Identifiable {
406
- public struct ID : Hashable {
407
- let productID : ResolvedProduct . ID
408
- let destination : BuildParameters . Destination
409
- }
410
-
411
- public var id : ID {
412
- ID ( productID: self . product. id, destination: self . destination)
413
- }
414
- }
415
-
416
400
extension SortedArray where Element == AbsolutePath {
417
401
public static func += < S: Sequence > ( lhs: inout SortedArray , rhs: S ) where S. Iterator. Element == AbsolutePath {
418
402
lhs. insert ( contentsOf: rhs)
Original file line number Diff line number Diff line change @@ -49,11 +49,6 @@ public final class SwiftModuleBuildDescription {
49
49
/// The build parameters for this target.
50
50
let buildParameters : BuildParameters
51
51
52
- /// The destination for while this module is built.
53
- public var destination : BuildParameters . Destination {
54
- self . buildParameters. destination
55
- }
56
-
57
52
/// The build parameters for the macro dependencies of this target.
58
53
let macroBuildParameters : BuildParameters
59
54
You can’t perform that action at this time.
0 commit comments