ICE when compiling a source file with size 4 GiB - 1 B #132862
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Compiling a source file with size 4 GiB - 1 B (
u32::MAX
bytes) makes the compiler crash.Compiling a source file of size 4 GiB produces the correct error
fatal error: rustc does not support files larger than 4GB
, whereas compiling a source file of size 4 GiB - 2 B works.Code
Code generated by python:
Meta
Happens in both latest stable and nightly:
rustc +stable --version --verbose
:rustc +nightly --version --verbose
:Error output
Backtrace
rustc-ice-2024-11-10T16_10_48-1065892.txt
The text was updated successfully, but these errors were encountered: