From 10f343f92f78b4a3e5a3dd4092b8336ba8593e8d Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 25 Dec 2025 12:47:01 +0100 Subject: [PATCH] better logging for cross --- src/deb/cross.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/deb/cross.rs b/src/deb/cross.rs index 770667c..e9d8249 100644 --- a/src/deb/cross.rs +++ b/src/deb/cross.rs @@ -149,6 +149,7 @@ pub fn setup_environment( env: &mut HashMap, arch: &str, ) -> Result<(), Box> { + log::debug!("Running 'dpkg-architecture -a{}'", arch); let dpkg_architecture = String::from_utf8( context::current() .command("dpkg-architecture") @@ -156,6 +157,7 @@ pub fn setup_environment( .output()? .stdout, )?; + log::debug!("dpkg-architecture done"); let env_var_regex = regex::Regex::new(r"(?.*)=(?.*)").unwrap(); for l in dpkg_architecture.lines() { let capture = env_var_regex.captures(l).unwrap();