Skip to content

Commit

Permalink
tools: restore emcc --version diagnostic in v doctor, when emcc i…
Browse files Browse the repository at this point in the history
…s present
  • Loading branch information
spytheman committed Jan 4, 2025
1 parent 30de072 commit cb490a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/tools/vdoctor.v
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,15 @@ fn (mut a App) collect_info() {
a.line('V git status', a.git_info())
a.line('.git/config present', os.is_file('.git/config').str())
a.line('', '')
a.line('CC version', a.cmd(command: 'cc --version'))
a.line('cc version', a.cmd(command: 'cc --version'))
a.line('gcc version', a.cmd(command: 'gcc --version'))
a.line('clang version', a.cmd(command: 'clang --version'))
if os_kind == 'windows' {
// Check for MSVC on windows
a.line('msvc version', a.cmd(command: 'cl'))
}
a.report_tcc_version('thirdparty/tcc')
a.line('emcc version', a.cmd(command: 'emcc --version'))
a.line('glibc version', a.cmd(command: 'ldd --version'))
}

Expand Down

0 comments on commit cb490a7

Please sign in to comment.