From ad4a9f53a1d716f282f1dc3cf74898eff6c910c6 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Tue, 22 Oct 2024 18:15:48 +0900 Subject: [PATCH] fix(julials): fix sysimage update (remove func calls for printstyled in tracecompile) --- bin/neovim/update_julials.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/neovim/update_julials.jl b/bin/neovim/update_julials.jl index f2c81c4..08e1f36 100644 --- a/bin/neovim/update_julials.jl +++ b/bin/neovim/update_julials.jl @@ -5,7 +5,7 @@ cd(project_path) run(`julia --project=. -e 'using Pkg; Pkg.update()'`) compile_traces = Iterators.filter(eachline("tracecompile.jl")) do line # Remove anonymous functions from compile trace - !startswith(line, '#') && !occursin(r"\#\d+\#\d+", line) + !startswith(line, '#') && !occursin(r"\#\d+\#\d+", line) && !occursin(r"\#\#printstyled\#", line) end |> join read("precompile_exec_head.jl", String) * compile_traces |> (b -> write("precompile_exec.jl", b)) @info "compiling sysimage..."