mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:42:38 +03:00
97717a5618
Add an Mmap wrapper to rustc_data_structures This wrapper implements StableAddress and falls back to directly reading the file on wasm32. Taken from #83640, which I will close due to the perf regression.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.