The stack the driver runs on. clap builds the whole command tree while
parsing, which in a debug build takes most of a 1 MiB main-thread stack (the
Windows default); every subcommand added pushes it nearer the edge, so the
real main runs on a thread with room to spare.
#2240: resolve, fetch and lock the dependencies of the project holding
input before a command compiles it. Prints the failure and returns
false when it canβt; a single file outside any project needs nothing.
bynk devβs output format: --trace-events writes events, so it implies
--format json (#3580).
Are we inside the Bynk source repo? Gates the contributor build
capability. Identified by the workspace markers bynk-driver/Cargo.toml and
design/decisions in some ancestor.
Parse the arguments, and set the process-wide --quiet and --color.
clap renders its help and errors while it parses, so it is told the
--color choice ahead of the parse.
#3274: prepare, or, for --each over a manifest-less directory of
projects, each of its projects in turn: every one is its own lock root, as
when it is run alone. One that fails to prepare is named and does not stop
the others, so every project still runs and the run fails at the end. An
--each that is not an implicit workspace (a project, a workspace root, a
file, a directory that is refused) prepares nothing of its own: the command
reports what is wrong with the flag, with no fetching or lock writes first.
Prepare the projectβs dependencies and find its root, or say why not: the
start of every command that reads a projectβs checked model (openapi,
client).