]> git.lizzy.rs Git - rust.git/commit
Add an Mmap wrapper to rustc_data_structures
authorbjorn3 <bjorn3@users.noreply.github.com>
Mon, 29 Mar 2021 09:18:52 +0000 (11:18 +0200)
committerbjorn3 <bjorn3@users.noreply.github.com>
Tue, 30 Mar 2021 16:57:03 +0000 (18:57 +0200)
commit8331dbe6d023a168334a7a46f15731c6bc1baf1e
treee322cb345ff131fc3120074956a48288871016e2
parent3aedcf06b73fc36feeebca3d579e1d2a6c40acc5
Add an Mmap wrapper to rustc_data_structures

This wrapper implements StableAddress and falls back to directly reading
the file on wasm32
12 files changed:
Cargo.lock
compiler/rustc_codegen_cranelift/Cargo.lock
compiler/rustc_codegen_cranelift/Cargo.toml
compiler/rustc_codegen_cranelift/src/metadata.rs
compiler/rustc_codegen_ssa/Cargo.toml
compiler/rustc_codegen_ssa/src/back/lto.rs
compiler/rustc_codegen_ssa/src/back/write.rs
compiler/rustc_data_structures/Cargo.toml
compiler/rustc_data_structures/src/lib.rs
compiler/rustc_data_structures/src/memmap.rs [new file with mode: 0644]
compiler/rustc_metadata/Cargo.toml
compiler/rustc_metadata/src/locator.rs