Skip to content

Commit 097554b

Browse files
authored
[5.10] Add ld-path-driver-option to features.json (#69587)
Dependency of swiftlang/swift-package-manager#7021. Cherry-pick of #69586. The `-ld-path` option was introduced on `main` in swiftlang/swift-driver#1442 and 5.10 in swiftlang/swift-driver#1442. SwiftPM needs to detect this flag to pass options to the driver correctly, and it's suitable to do this via `feature.json` instead of checking for the compiler version via other means. Partially resolves rdar://117049947.
2 parents 7ccdd47 + 441a4e8 commit 097554b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Option/features.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
},
3636
{
3737
"name": "const-extract-complete-metadata"
38+
},
39+
{
40+
"name": "ld-path-driver-option"
3841
}
3942
]
4043
}

0 commit comments

Comments
 (0)