Skip to content

Commit

Permalink
Fix pretty printing when building with no stdlibs.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Feb 11, 2020
1 parent a211abc commit 71800e4
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 71800e4

Please sign in to comment.