Skip to content

Commit 8f35865

Browse files
spec: kind = "entry", main = { from }, start, [test] main and start (mcpp 2026.10.26.2)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 3e4d0ce commit 8f35865

1 file changed

Lines changed: 25 additions & 4 deletions

File tree

‎spec/toml-schema.json‎

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"sourceVersion": "2026.10.17.1",
2+
"sourceVersion": "2026.10.26.2",
33
"sourceCommit": "684a306bced037014da08b038412f57c203d0bc9",
44
"sections": [
55
{
@@ -664,10 +664,11 @@
664664
"bin",
665665
"lib",
666666
"shared",
667-
"app"
667+
"app",
668+
"entry"
668669
],
669670
"since": "2026.9.12.3",
670-
"note": "\"app\" requires mcpp 2026.9.12.3+; library/binary/dylib/so/shlib are accepted aliases"
671+
"note": "\"app\" requires mcpp 2026.9.12.3+ and \"entry\" 2026.10.26.2+; library/binary/dylib/so/shlib are accepted aliases"
671672
},
672673
{
673674
"key": "linkage",
@@ -680,7 +681,8 @@
680681
},
681682
{
682683
"key": "main",
683-
"type": "string"
684+
"type": "string",
685+
"note": "a file, or { from = \"<dependency>/<entry>\" } naming a dependency's kind = \"entry\" target (2026.10.26.2+)"
684686
},
685687
{
686688
"key": "required_features",
@@ -690,6 +692,12 @@
690692
"key": "soname",
691693
"type": "string"
692694
},
695+
{
696+
"key": "start",
697+
"type": "string",
698+
"since": "2026.10.26.2",
699+
"note": "the symbol a freestanding image is entered at"
700+
},
693701
{
694702
"key": "windows_auto_export",
695703
"type": "string",
@@ -742,6 +750,19 @@
742750
"key": "discover",
743751
"type": "array",
744752
"note": "globs whose every match is one test program"
753+
},
754+
{
755+
"key": "main",
756+
"type": "string",
757+
"since": "2026.10.26.2",
758+
"note": "{ from = \"<dependency>/<entry>\" }: the entry every test program begins in",
759+
"unmodelled": true
760+
},
761+
{
762+
"key": "start",
763+
"type": "string",
764+
"since": "2026.10.26.2",
765+
"note": "the symbol every test image is entered at, on a freestanding target"
745766
}
746767
]
747768
},

0 commit comments

Comments
 (0)