From cb490a74f9ab74f89407e81ca17f2f1417a6b082 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 4 Jan 2025 11:34:57 +0200 Subject: [PATCH] tools: restore `emcc --version` diagnostic in `v doctor`, when emcc is present --- cmd/tools/vdoctor.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tools/vdoctor.v b/cmd/tools/vdoctor.v index 5cbd49c5d9..e077341efb 100644 --- a/cmd/tools/vdoctor.v +++ b/cmd/tools/vdoctor.v @@ -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')) }