Skip to content

Commit cb490a7

Browse files
committed
tools: restore emcc --version diagnostic in v doctor, when emcc is present
1 parent 30de072 commit cb490a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/tools/vdoctor.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,15 @@ fn (mut a App) collect_info() {
135135
a.line('V git status', a.git_info())
136136
a.line('.git/config present', os.is_file('.git/config').str())
137137
a.line('', '')
138-
a.line('CC version', a.cmd(command: 'cc --version'))
138+
a.line('cc version', a.cmd(command: 'cc --version'))
139139
a.line('gcc version', a.cmd(command: 'gcc --version'))
140140
a.line('clang version', a.cmd(command: 'clang --version'))
141141
if os_kind == 'windows' {
142142
// Check for MSVC on windows
143143
a.line('msvc version', a.cmd(command: 'cl'))
144144
}
145145
a.report_tcc_version('thirdparty/tcc')
146+
a.line('emcc version', a.cmd(command: 'emcc --version'))
146147
a.line('glibc version', a.cmd(command: 'ldd --version'))
147148
}
148149

0 commit comments

Comments
 (0)