fast_trap

Function soft_trap

Source
pub fn soft_trap(cause: usize)
Expand description

模拟一个 cause 类的陷入。

§Safety

如同发生一个陷入。