Skip to content

Commit

Permalink
Fix pretty printing when building with no stdlibs. (#34727)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored and KristofferC committed Apr 11, 2020
1 parent e56d082 commit 1844923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ let
:Statistics,
]

maxlen = maximum(textwidth.(string.(stdlibs)))
maxlen = reduce(max, textwidth.(string.(stdlibs)); init=0)

print_time = (mod, t) -> (print(rpad(string(mod) * " ", maxlen + 3, "")); Base.time_print(t * 10^9); println())
print_time(Base, (Base.end_base_include - Base.start_base_include) * 10^(-9))
Expand Down

0 comments on commit 1844923

Please sign in to comment.