Skip to content

Commit

Permalink
fix for Pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Mar 6, 2024
1 parent b621e03 commit dd7589f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/precompilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ end
const Config = Pair{Cmd, Base.CacheFlags}
const PkgConfig = Tuple{Base.PkgId,Config}

# TODO: Remove once Pkg moves to the renamed kwarg `flags_cacheflags` -> `configs`
precompilepkgs(args...; flags_cacheflags, kwargs...) = precompilepkgs(args...; configs=flags_cacheflags, kwargs...)

function precompilepkgs(pkgs::Vector{String}=String[]; internal_call::Bool=false,
strict::Bool=false, warn_loaded = true, timing::Bool = false,
_from_loading::Bool=false, configs::Union{Config,Vector{Config}}=(``=>Base.CacheFlags()),
Expand Down

0 comments on commit dd7589f

Please sign in to comment.