mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-18 11:20:36 +00:00
upstream stdx changes
This commit is contained in:
parent
2261e4e892
commit
428ee50540
11 changed files with 131 additions and 97 deletions
|
|
@ -54,6 +54,9 @@ pub fn streaming_output(
|
|||
Ok((stdout, stderr))
|
||||
}
|
||||
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if `cmd` is not configured to have `stdout` and `stderr` as `piped`.
|
||||
pub fn spawn_with_streaming_output(
|
||||
mut cmd: Command,
|
||||
on_stdout_line: &mut dyn FnMut(&str),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue