Open Mingun opened 5 months ago
@rustbot label -needs-triage +O-windows-7 +A-codegen
After
cargo clean
and attempt to reproduce bug it is gone.
Sounds more like an incremental compilation bug than a codegen one?
Also, I'm not sure about the O-windows-7 label... I haven't tried to repro on another platform, but is there any reason to think this is specific to that one?
MCVE would really help.
@rustbot label +E-needs-mcve +A-incr-comp -A-codegen
Code
The full code in this branch of my fork of quick-xml: https://github.com/Mingun/quick-xml/tree/rustc-ice-2024-06-13
The compiler crashed after I made changes in
read_text
function insrd/reader/buffered_reader.rs
. I tried to reuse introducedread_text_chunk
function in implementation ofread_text
function: https://github.com/Mingun/quick-xml/blob/171ca07dc2e2e7db38b63055a7b67d28c16c4b64/src/reader/buffered_reader.rs#L51-L69When I finish
match
in loop, compiler crashed. Aftercargo clean
and attempt to reproduce bug it is gone.Meta
Note, that I use Windows 7.
rustc --version --verbose
:Error output