mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

rustc: Fail fast when compiling a source file larger than 4 GiB Currently if you try to compile a file that is larger than 4 GiB, `rustc` will first read the whole into memory before failing. If we can read the metadata of the file, we can fail before reading the file.