Support -show-timings for odin doc
This commit is contained in:
1 parent
d0d5cf800e
commit
faaa05536f
1 file changed
+5
@@ -3593,10 +3593,15 @@ int main(int arg_count, char const **arg_ptr) {
|
||||
}
|
||||
|
||||
if (build_context.generate_docs) {
|
||||
MAIN_TIME_SECTION("generate documentation");
|
||||
if (global_error_collector.count != 0) {
|
||||
return 1;
|
||||
}
|
||||
generate_documentation(checker);
|
||||
|
||||
if (build_context.show_timings) {
|
||||
show_timings(checker, &global_timings);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user