Skip to content

Commit 8f9a904

Browse files
authored
SE-0387: Fix JSON syntax (#2268)
1 parent cd35fdc commit 8f9a904

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proposals/0387-cross-compilation-destinations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ and `"version": "3.0"` for backward compatibility, but for consistency with `inf
323323
```json5
324324
{
325325
"schemaVersion": "4.0",
326-
"targetTriples": [
326+
"targetTriples": {
327327
"<triple1>": {
328328
"sdkRootPath": "<a required path relative to `swift-sdk.json` containing SDK root>",
329329
// all of the properties listed below are optional:
@@ -344,7 +344,7 @@ and `"version": "3.0"` for backward compatibility, but for consistency with `inf
344344
"toolsetPaths": ["<array of paths relative to `swift-sdk.json` containing toolset files>"]
345345
}
346346
// more triples can be supported by a single Swift SDK if needed, primarily for sharing files between them.
347-
]
347+
}
348348
}
349349
```
350350

@@ -364,7 +364,7 @@ Here's `swift-sdk.json` file for the `ubuntu_jammy` artifact previously introduc
364364
```json5
365365
{
366366
"schemaVersion": "4.0",
367-
"targetTriples": [
367+
"targetTriples": {
368368
"aarch64-unknown-linux-gnu": {
369369
"sdkRootPath": "aarch64-unknown-linux-gnu/ubuntu-jammy.sdk",
370370
"toolsetPaths": ["aarch64-unknown-linux-gnu/toolset.json"]
@@ -373,7 +373,7 @@ Here's `swift-sdk.json` file for the `ubuntu_jammy` artifact previously introduc
373373
"sdkRootPath": "x86_64-unknown-linux-gnu/ubuntu-jammy.sdk",
374374
"toolsetPaths": ["x86_64-unknown-linux-gnu/toolset.json"]
375375
}
376-
],
376+
}
377377
}
378378
```
379379

0 commit comments

Comments
 (0)