From 6a185a7805308cc1deebc29315b0e7f4052de1b1 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Mon, 12 Aug 2024 20:57:33 +0100 Subject: [PATCH] show both stdout and stderr --- crates/librqbit/build.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/librqbit/build.rs b/crates/librqbit/build.rs index ff4bba4..4270ec8 100644 --- a/crates/librqbit/build.rs +++ b/crates/librqbit/build.rs @@ -30,10 +30,11 @@ fn main() { if !output.status.success() { panic!( - "{} {} failed with output: {}", + "{} {} failed. stderr: {}. stdout: {}", cmd, args.join(" "), - String::from_utf8_lossy(&output.stderr) + String::from_utf8_lossy(&output.stderr), + String::from_utf8_lossy(&output.stdout) ); }