File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,11 +63,8 @@ namespace mcpp::build {
6363// index is first opened, which can be hundreds of lines earlier; the message
6464// that STOPS the build has to carry the cause, because that is the one a user
6565// reads. See mcpp::pm::unusable_index_hint.
66- // Spelling-independent `[target.<triple>]` lookup.
67- //
68- // A section keyed `x86_64-w64-mingw32` matches a resolved `x86_64-windows-gnu`,
69- // and unparseable keys compare exactly (the escape hatch for custom triples).
7066// The project's `[target.<triple>].sysroot`, or nullptr when it declared none.
67+ // The row is found by `find_target_entry` (prepare_inputs), as every row is.
7168const std::string*
7269sysroot_override (const mcpp::manifest::Manifest& m,
7370 const mcpp::toolchain::triple::Triple& t) {
Original file line number Diff line number Diff line change @@ -499,7 +499,8 @@ inline std::string vocabulary_sentence() {
499499// keyed `x86-windows-msvc` the `i686-windows-msvc` row. Every reader of a row
500500// asks here. Readers that compared the key exactly gave a section that applied
501501// to `toolchain` and not to `runner`, which is a defect nobody would think to
502- // look for -- measured for the `x86` spelling (2026.10.5.3).
502+ // look for -- measured for the `x86` spelling (2026.10.5.3). A key the parser
503+ // does not know compares exactly: the escape hatch for a custom triple.
503504inline const mcpp::manifest::TargetEntry*
504505find_target_entry (const mcpp::manifest::Manifest& m,
505506 const mcpp::toolchain::triple::Triple& t) {
You can’t perform that action at this time.
0 commit comments