From bde49f606b1472beef56190e9e7bd245d8f677a3 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Thu, 18 Aug 2022 10:33:51 -0500 Subject: [PATCH] Put back init=0 to accommodate PackageCompiler --- base/sysimg.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/sysimg.jl b/base/sysimg.jl index 183934d77fb6b..175d26c3fee9b 100644 --- a/base/sysimg.jl +++ b/base/sysimg.jl @@ -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