File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ extension BuildPlan {
20
20
func plan( swiftTarget: SwiftModuleBuildDescription ) throws {
21
21
// We need to iterate recursive dependencies because Swift compiler needs to see all the targets a target
22
22
// builds against
23
- for case . module( let dependency, let description) in swiftTarget. recursiveLinkDependencies ( using: self ) {
23
+ for case . module( let dependency, let description) in swiftTarget. recursiveDependencies ( using: self ) {
24
24
switch dependency. underlying {
25
25
case let underlyingTarget as ClangModule where underlyingTarget. type == . library:
26
26
guard case let . clang( target) ? = description else {
Original file line number Diff line number Diff line change @@ -6972,7 +6972,8 @@ class BuildPlanTestCase: BuildSystemProviderTestCase {
6972
6972
XCTAssertNoDiagnostics ( observability. diagnostics)
6973
6973
6974
6974
let myLib = try XCTUnwrap ( plan. targets. first ( where: { $0. module. name == " MyLib " } ) ) . swift ( )
6975
- XCTAssertFalse ( myLib. additionalFlags. contains ( where: { $0. contains ( " -tool " ) } ) , " flags shouldn't contain tools items " )
6975
+ print ( myLib. additionalFlags)
6976
+ XCTAssertFalse ( myLib. additionalFlags. contains ( where: { $0. contains ( " -tool/include " ) } ) , " flags shouldn't contain tools items " )
6976
6977
}
6977
6978
}
6978
6979
You can’t perform that action at this time.
0 commit comments