From 890a51c207bb9bc7629e0cdc79e370e998bfbf7e Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 4 Jun 2026 20:13:09 +0200 Subject: [PATCH] rusticl/program: print compiler output as Rust string The CString Debug implementation does not handle new lines, so it gets all printed as a single row, which is not what we want at all. Fixes: 01de0ff26fe ("rusticl/program: store log as a CString") Reviewed-by: @LingMan Part-of: --- src/gallium/frontends/rusticl/core/program.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/rusticl/core/program.rs b/src/gallium/frontends/rusticl/core/program.rs index 21963890194..5fc92732eea 100644 --- a/src/gallium/frontends/rusticl/core/program.rs +++ b/src/gallium/frontends/rusticl/core/program.rs @@ -973,7 +973,7 @@ fn debug_logging(p: &Program, devs: &[&Device]) { for dev in devs { let msg = p.log(dev); if !msg.is_empty() { - eprintln!("{msg:?}"); + eprintln!("{}", msg.to_string_lossy()); } } }