Re:Making Unsafe Rust a Little Safer
by lilyball on Tuesday December 17, 2024 @05:29PM
(#42446104)
You wouldn't. You cut off the rest of that sentence in your quote, the full sentence is
> The program terminates, which may be highly undesirable, or even unacceptable, creating other safety issues if the software is vital for operating critical infrastructure, but the run-time checks ensure the program will never execute unsafe code that would result in undefined behaviour.
That said, this whole sentence here just feels kind of out of place, like it was written just for the sake of having something to say about a panic.
> The program terminates, which may be highly undesirable, or even unacceptable, creating other safety issues if the software is vital for operating critical infrastructure, but the run-time checks ensure the program will never execute unsafe code that would result in undefined behaviour.
That said, this whole sentence here just feels kind of out of place, like it was written just for the sake of having something to say about a panic.