We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c5a0f commit e7622dcCopy full SHA for e7622dc
src/API.jl
@@ -1083,7 +1083,11 @@ function precompile(ctx::Context; internal_call::Bool=false, kwargs...)
1083
for (pkg, deps) in depsmap # precompilation loop
1084
paths = Base.find_all_in_cache_path(pkg)
1085
sourcepath = Base.locate_package(pkg)
1086
- sourcepath === nothing && continue
+ if sourcepath === nothing
1087
+ failed_deps[pkg] = "Error: Missing source file for $(pkg)"
1088
+ notify(was_processed[pkg])
1089
+ continue
1090
+ end
1091
# Heuristic for when precompilation is disabled
1092
if occursin(r"\b__precompile__\(\s*false\s*\)", read(sourcepath, String))
1093
notify(was_processed[pkg])
0 commit comments