Skip to content

Commit 51ded1c

Browse files
authored
Simplify loading code from stdin during precompilation. (#43853)
1 parent eb724e0 commit 51ded1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/loading.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ function create_expr_cache(pkg::PkgId, input::String, output::String, concrete_d
14371437
--startup-file=no --history-file=no --warn-overwrite=yes
14381438
--color=$(have_color === nothing ? "auto" : have_color ? "yes" : "no")
14391439
$trace
1440-
--eval 'eval(Meta.parse(read(stdin,String)))'`, stderr = internal_stderr, stdout = internal_stdout),
1440+
-`, stderr = internal_stderr, stdout = internal_stdout),
14411441
"w", stdout)
14421442
# write data over stdin to avoid the (unlikely) case of exceeding max command line size
14431443
write(io.in, """

0 commit comments

Comments
 (0)