From 0007c4f703495dbaf0aa31d0fb2dea3847877d71 Mon Sep 17 00:00:00 2001 From: chaojie Date: Fri, 5 May 2023 18:10:48 +0800 Subject: [PATCH] Enabled color output for error message --- src/compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.rs b/src/compile.rs index 7c19e7983..b4cc1df26 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -153,7 +153,7 @@ fn compile_target( let target = &context.target; let mut cargo_rustc: cargo_options::Rustc = context.cargo_options.clone().into(); - cargo_rustc.message_format = vec!["json".to_string()]; + cargo_rustc.message_format = vec!["json-render-diagnostics".to_string()]; // --release and --profile are conflicting options if context.release && cargo_rustc.profile.is_none() {