Skip to content

Commit 441a4e8

Browse files
committed
Add ld-path-driver-option to features.json
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.
1 parent 3d7cdb9 commit 441a4e8

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)