From 22aeb03bcc7a7abb26c915b1bc39a1743cf4fce0 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Sun, 21 Jul 2024 00:43:55 +0200 Subject: [PATCH] Precompile the entrypoints --- src/Runic.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Runic.jl b/src/Runic.jl index 9df1c94..87a2710 100644 --- a/src/Runic.jl +++ b/src/Runic.jl @@ -415,4 +415,9 @@ end include("runestone.jl") include("main.jl") +# Precompile the entry points +@assert precompile(main, (Vector{String},)) +@assert precompile(format_file, (String, String)) +@assert precompile(format_string, (String,)) + end # module