Skip to content

Commit 388f78c

Browse files
authored
Update sdkRootPath to be optional in swift-sdk.json
In swiftlang/swift-package-manager#8687 make sdkRootPath an optional field.
1 parent 39fedac commit 388f78c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/0387-cross-compilation-destinations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ and `"version": "3.0"` for backward compatibility, but for consistency with `inf
325325
"schemaVersion": "4.0",
326326
"targetTriples": {
327327
"<triple1>": {
328-
"sdkRootPath": "<a required path relative to `swift-sdk.json` containing SDK root>",
328+
"sdkRootPath": "<an optional path relative to `swift-sdk.json` containing SDK root>",
329329
// all of the properties listed below are optional:
330330
"swiftResourcesPath": "<a path relative to `swift-sdk.json` containing Swift resources for dynamic linking>",
331331
"swiftStaticResourcesPath": "<a path relative to `swift-sdk.json` containing Swift resources for static linking>",
@@ -335,7 +335,7 @@ and `"version": "3.0"` for backward compatibility, but for consistency with `inf
335335
},
336336
// a Swift SDK can support more than one target triple:
337337
"<triple2>": {
338-
"sdkRootPath": "<a required path relative to `swift-sdk.json` containing SDK root>",
338+
"sdkRootPath": "<an optional path relative to `swift-sdk.json` containing SDK root>",
339339
// all of the properties listed below are optional:
340340
"swiftResourcesPath": "<a path relative to `swift-sdk.json` containing Swift resources for dynamic linking>",
341341
"swiftStaticResourcesPath": "<a path relative to `swift-sdk.json` containing Swift resources for static linking>",

0 commit comments

Comments
 (0)