pub fn with_spinner_reporter<T>(
project_root: Option<PathBuf>,
f: impl FnOnce() -> T,
) -> T
Expand description
If the output medium is terminal, this calls f
within the SpinnerReporter
that displays a
spinning cursor to display solc progress.
If no terminal is available this falls back to common println!
in [BasicStdoutReporter
].