Closed koute closed 3 months ago
The GP defines the trap instruction to be a halt, but this instruction was always meant to be used for abnormal termination (and in fact the compiler will use it when e.g. you do a panic! in Rust, or an assertion fails, etc.).
trap
panic!
The GP defines the
trap
instruction to be a halt, but this instruction was always meant to be used for abnormal termination (and in fact the compiler will use it when e.g. you do apanic!
in Rust, or an assertion fails, etc.).