mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: show C output when tool can not be compiled
This commit is contained in:
parent
86447c1301
commit
2d3944250f
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user