about summary refs log tree commit diff
path: root/compiler/rustc_target/src/asm/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-24 07:37:32 +0000
committerbors <bors@rust-lang.org>2024-11-24 07:37:32 +0000
commitab3cf268b518f0312d86346db3bf79d5ec33b3b7 (patch)
treedbe8b1dc18a1fdebc3bcc47ee4134ddb22261189 /compiler/rustc_target/src/asm/mod.rs
parent4e4c20d2abe6a218991152b735800fbaf51aedd6 (diff)
parent5caf516cd087af9b6b8349e12709b2e77b054f39 (diff)
downloadrust-ab3cf268b518f0312d86346db3bf79d5ec33b3b7.tar.gz
rust-ab3cf268b518f0312d86346db3bf79d5ec33b3b7.zip
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.
Diffstat (limited to 'compiler/rustc_target/src/asm/mod.rs')
0 files changed, 0 insertions, 0 deletions