PrecompilableError
thrown outside of __precompile__(false)
cases
#51299
Labels
compiler:precompilation
Precompilation of modules
PrecompilableError
is reserved for when packages use__precompile__(false)
which seems quite rare in the ecosystem now.julia/base/loading.jl
Lines 1688 to 1692 in 7b88c58
However it can also get thrown when the package cache gets into a bad state.
This means Pkg.precompile can't handle these cases properly (marked here with
?
)In the case above it was also reported that simply restarting the session fixed the issue.
The text was updated successfully, but these errors were encountered: