https://github.com/JuliaLang/julia
Raw File
Tip revision: a79c6f4b44024fb5f55c2c8e6bb9c5e6f356b16a authored by Shuhei Kadowaki on 18 November 2022, 08:35:19 UTC
improve type stability of `[hcat|vcat](arrays::Vector{T}...) where T`
Tip revision: a79c6f4
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