Auto merge of #132791 - tyilo:big-file-fail-fast, r=compiler-errors

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.
This commit is contained in:
bors 2024-11-24 07:37:32 +00:00
commit 653c245391

Diff Content Not Available