https://github.com/JuliaLang/julia
Raw File
Tip revision: 83a7f3b5bebc300ca1ee4356dd8f7f25347c107e authored by Jeff Bezanson on 18 January 2019, 07:13:49 UTC
Add doc string for `=` (#30745)
Tip revision: 83a7f3b
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