Skip to content

Commit

Permalink
Put back init=0 to accommodate PackageCompiler (JuliaLang#46395)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner committed Aug 19, 2022
1 parent b3ee876 commit 1411cb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ let
# 7-depth packages
:LazyArtifacts,
]
maxlen = maximum(textwidth.(string.(stdlibs)))
# PackageCompiler can filter out stdlibs so it can be empty
maxlen = maximum(textwidth.(string.(stdlibs)); init=0)

tot_time_stdlib = 0.0
# use a temp module to avoid leaving the type of this closure in Main
Expand Down

0 comments on commit 1411cb8

Please sign in to comment.