From 2d3944250faa43991a8152e3d68fa7efc4ebbf0b Mon Sep 17 00:00:00 2001 From: vitalyster Date: Thu, 7 Nov 2019 16:17:32 +0300 Subject: [PATCH] tools: show C output when tool can not be compiled --- vlib/compiler/vtools.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/compiler/vtools.v b/vlib/compiler/vtools.v index 117b715242..61f561bb6a 100644 --- a/vlib/compiler/vtools.v +++ b/vlib/compiler/vtools.v @@ -35,7 +35,7 @@ pub fn launch_tool(tname string){ //println('Compiling $tname with: "$compilation_command"') tool_compilation := os.exec(compilation_command) or { panic(err) } if tool_compilation.exit_code != 0 { - panic('V tool "$tool_source" could not be compiled.') + panic('V tool "$tool_source" could not be compiled\n' + tool_compilation.output) } }