mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Log flycheck command
This commit is contained in:
parent
ec8b4dca02
commit
18ec1ed72e
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ impl FlycheckActor {
|
||||||
self.cancel_check_process();
|
self.cancel_check_process();
|
||||||
|
|
||||||
let mut command = self.check_command();
|
let mut command = self.check_command();
|
||||||
|
log::info!("restart flycheck {:?}", command);
|
||||||
command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null());
|
command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null());
|
||||||
if let Ok(child) = command.spawn().map(JodChild) {
|
if let Ok(child) = command.spawn().map(JodChild) {
|
||||||
self.cargo_handle = Some(CargoHandle::spawn(child));
|
self.cargo_handle = Some(CargoHandle::spawn(child));
|
||||||
|
|
Loading…
Reference in a new issue