Skip to content

Commit 48245f7

Browse files
authored
Simplify precompilation to try and avoid crash on windows (#996)
1 parent 604333f commit 48245f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/precompile.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const PRECOMPILE_DATA = "int,float,date,datetime,bool,null,str,catg,int_float\n1
22
function _precompile_()
33
ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
44
while false; end
5-
# CSV.Context(IOBuffer(CSV.PRECOMPILE_DATA))
5+
CSV.Context(IOBuffer(PRECOMPILE_DATA))
66
# foreach(row -> row, CSV.Rows(IOBuffer(PRECOMPILE_DATA)))
7-
CSV.Context(joinpath(dirname(pathof(CSV)), "promotions.csv"))
7+
# CSV.Context(joinpath(dirname(pathof(CSV)), "promotions.csv"))
88
end

0 commit comments

Comments
 (0)