Auto merge of #12520 - Veykril:flycheck-cancel, r=Veykril

internal: Bring back JodChild into flychecking for cancellation

cc https://github.com/rust-lang/rust-analyzer/pull/10517/files#r895241975
This commit is contained in:
bors 2022-06-24 17:42:00 +00:00
commit 5bb123d970
4 changed files with 134 additions and 71 deletions

View file

@ -110,7 +110,7 @@ impl WorkspaceBuildScripts {
};
tracing::info!("Running build scripts: {:?}", cmd);
let output = stdx::process::streaming_output(
let output = stdx::process::spawn_with_streaming_output(
cmd,
&mut |line| {
// Copy-pasted from existing cargo_metadata. It seems like we