https://github.com/JuliaLang/julia
Raw File
Tip revision: 404750f8586d77a7d1832e0dfb1b1931fcf191ac authored by Kristoffer Carlsson on 03 October 2023, 12:53:42 UTC
release-1.10: set VERSION to 1.10.0-beta3 (#51542)
Tip revision: 404750f
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