Cleanup toolchain info fetching

This commit is contained in:
Lukas Wirth 2024-12-29 12:25:51 +01:00
parent dc6cea57a2
commit 0f95e60da3
13 changed files with 197 additions and 230 deletions

View file

@ -85,7 +85,7 @@ pub(crate) fn cargo_config_env(
}
// if successful we receive `env.key.value = "value" per entry
tracing::debug!("Discovering cargo config env by {:?}", cargo_config);
utf8_stdout(cargo_config)
utf8_stdout(&mut cargo_config)
.map(parse_output_cargo_config_env)
.inspect(|env| {
tracing::debug!("Discovered cargo config env: {:?}", env);