Skip to content

Commit 7ad956b

Browse files
committed
fixup! remove dynamic download
1 parent f1ecb1b commit 7ad956b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/toplevel_generators.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,6 @@ function generate_wrapper_load(src_name, pkg_uuid, __source__)
171171
end
172172
end
173173

174-
if VERSION >= v"1.6"
175-
function install_current_artifact(platform=host_platform)
176-
# Avoid loading Pkg by default, to keep the latency down if we can
177-
local Pkg = Base.require(Base.PkgId(UUID((0x44cfe95a_1eb2_52ea, 0xb672_e2afdf69b78f)), "Pkg"))
178-
Pkg.Artifacts.ensure_artifact_installed($(src_name), joinpath($(pkg_dir), "..", "Artifacts.toml"); platform=platform, pkg_uuid=$(pkg_uuid))
179-
end
180-
end
181-
182174
# Load in the wrapper, if it's not `nothing`!
183175
if best_wrapper === nothing
184176
@debug(string("Unable to load ", $(src_name), "; unsupported platform ", triplet(host_platform)))

0 commit comments

Comments
 (0)