Commit c2fbe08
committed
the host-surface table was written from one sweep, and three were missing
The table in docs/20 says it is "the whole of what does not" come from the
graph or from xlings. It was derived from a single sweep -- every `fs::which`
call -- and three other shapes reach the host without passing through one.
Two of them are rows the table owes a reason for, and now has:
* A command interpreter. `[hooks]` runs through `run_shell_deadline`, the
xlings CLI through `run_streaming_bounded`, and the detached codegen
command through the same `/bin/sh` (`cmd.exe` on Windows). A hook is a
line the USER wrote in shell syntax; shipping a shell would change the
language that line is read in, so what mcpp depends on here is not a tool
it could package.
* The MSVC toolset and the Windows SDK, reached when a user names
`msvc@system` or when a managed toolset has no SDK payload beside it. Not
redistributable, the same category as the Apple SDK -- and already handled
the way the assembler now is: a managed toolset BINDS its SDK and ignores
`WindowsSdkDir` even when set, because a pin the environment can overwrite
is not a pin, and the fallback to the machine's SDK carries a note the
caller must surface.
The third points the other way and is recorded for that reason: `src/runtime/
elf` writes `/usr/lib` and `/usr/lib64` only to MODEL a loader's run-time
search, and `mcpp.toolchain.registry` REFUSES a payload descriptor whose
`frontend` names `/usr/bin/g++`.
The four sweeps are now written into the page, with the exact count each
yields, so the next reader checks the list rather than trusting it. The count
of `fs::which` call sites is five, and each is a row.1 parent 9fd2f8a commit c2fbe08
2 files changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
665 | 689 | | |
666 | 690 | | |
667 | 691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
600 | 619 | | |
601 | 620 | | |
602 | 621 | | |
| |||
0 commit comments