tools: restore emcc --version diagnostic in v doctor, when emcc is present

This commit is contained in:
Delyan Angelov 2025-01-04 11:34:57 +02:00
parent 30de0724ac
commit cb490a74f9
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -135,7 +135,7 @@ 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' {
@ -143,6 +143,7 @@ fn (mut a App) collect_info() {
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'))
}