https://github.com/JuliaLang/julia
Raw File
Tip revision: 3af96bcefcb0aec559d4652fd75e1bc3fcfe99da authored by Alex Arslan on 09 September 2019, 19:06:53 UTC
Set VERSION to 1.0.5 (#33132)
Tip revision: 3af96bc
write_base_cache.jl
# Write the sys source cache in format readable by Base._read_dependency_src
cachefile = ARGS[1]
open(cachefile, "w") do io
    for (_, filename) in Base._included_files
        src = read(filename, String)
        write(io, Int32(sizeof(filename)))
        write(io, filename)
        write(io, UInt64(sizeof(src)))
        write(io, src)
    end
    write(io, Int32(0))
end
back to top