Expand description
#3100: per-context build progress, printed to stderr.
The pipeline reports each context through a ProgressSink
(crate::project::CompileOptions::progress); this is the one printer the
verbs that build share, so build, dev and deploy read the same.
The lines appear only when stderr is a terminal and --quiet is not given,
so a script or CI log that captures the output sees exactly what it did
before.
Functions§
- line
- One event’s line: a right-aligned verb, then the context, as
cargodoes. - set_
quiet --quiet: turn the per-context lines off for this process.- terminal_
sink - The printer for this process, or
Nonewhen nothing should print: stderr is not a terminal, or--quietwas given.