Skip to content

Commit

Permalink
fixup! Excise REPL from sysimg.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Sep 21, 2023
1 parent 75014c5 commit b514f93
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions stdlib/REPL/src/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ module Precompile

import ..REPL

Base.include(@__MODULE__, joinpath(Sys.BINDIR, "..", "share", "julia", "test", "testhelpers", "FakePTYs.jl"))
import .FakePTYs: open_fake_pty
# Ugly hack for our cache file to not have a dependency edge on FakePTYs.
Base._track_dependencies[] = false
try
Base.include(@__MODULE__, joinpath(Sys.BINDIR, "..", "share", "julia", "test", "testhelpers", "FakePTYs.jl"))
import .FakePTYs: open_fake_pty
finally
Base._track_dependencies[] = true
end
using Base.Meta

import Markdown
Expand Down

0 comments on commit b514f93

Please sign in to comment.