Skip to content

Commit

Permalink
Don't mention __precompile__(false) in error message (JuliaLang#53099)
Browse files Browse the repository at this point in the history
I am fairly sure nothing in my dep tree uses `__precompile__(false)` so
this message is misleading.
I know we changed another of them a while ago
  • Loading branch information
oxinabox committed Jan 30, 2024
1 parent 3510f4e commit ef69db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,7 @@ function _require(pkg::PkgId, env=nothing)
elseif isa(cachefile, Exception)
if precompilableerror(cachefile)
verbosity = isinteractive() ? CoreLogging.Info : CoreLogging.Debug
@logmsg verbosity "Skipping precompilation since __precompile__(false). Importing $pkg."
@logmsg verbosity "Skipping precompilation due to precompilable error. Importing $pkg." exception=m
else
@warn "The call to compilecache failed to create a usable precompiled cache file for $pkg" exception=m
end
Expand Down

0 comments on commit ef69db6

Please sign in to comment.