mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
d936713d27
When archive format is wrong produce an error instead of ICE Fix rust-lang/rust#145624. Fix rust-lang/rust#147094. Fix rust-lang/rust#148217. There are now two-step solutions to replace the original ICE: Step 1: BSD format archive on a GNU/Linux target should emit a format mismatch warning. Step 2: Corrupt archive with member offset exceeding file boundary should produce an error, not an ICE. r? @bjorn3
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.