News for hackers. Stuff that matters.
Re:Achievement unlocked: rustc segfault by Thorrez on Monday April 11, 2022 @12:15AM (#30984598)
That's documented undefined behavior.

Is it documented undefined behavior to feed bad IR into LLVM?

Re:Achievement unlocked: rustc segfault by scatters on Monday April 11, 2022 @02:51AM (#30985487)
Of course. If there's an input checking mode, and you disable the checks, then you're guaranteeing that you won't supply invalid input.