Skip to content

Commit

Permalink
Add ld-path-driver-option to features.json
Browse files Browse the repository at this point in the history
The `-ld-path` option was introduced on `main` in apple/swift-driver#1442 and 5.10 in apple/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.
  • Loading branch information
MaxDesiatov committed Nov 1, 2023
1 parent 3d7cdb9 commit 441a4e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Option/features.json
Expand Up @@ -35,6 +35,9 @@
},
{
"name": "const-extract-complete-metadata"
},
{
"name": "ld-path-driver-option"
}
]
}

0 comments on commit 441a4e8

Please sign in to comment.