From 95e0aa1bea581a8c0aba492da61345a10bc00d03 Mon Sep 17 00:00:00 2001 From: Nikolay Arhipov Date: Mon, 30 Oct 2023 13:32:46 +0200 Subject: [PATCH] Reverted set_cargo_config_env (#6) --- src/check.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/check.rs b/src/check.rs index eee32c8..fbd9db7 100644 --- a/src/check.rs +++ b/src/check.rs @@ -28,7 +28,8 @@ pub fn set_cargo_config_env() -> anyhow::Result<()> { let cargo = env::var_os("CARGO"); let mut child = Command::new(cargo.as_deref().unwrap_or_else(|| "cargo".as_ref())) .args(["config", "get", "-Zunstable-options", "--format=json"]) - .stdout(Stdio::null()) + .stdout(Stdio::piped()) + .stderr(Stdio::null()) .stdin(Stdio::null()) .spawn() .context("spawning `cargo config get` process")?;