2 ms·
I mean, what other semantics would anyone expect it to have—presuming they think for a moment about why it exists as its own thing in the first place?
by derefr 6y ago
I mean, what other semantics would anyone expect it to have—presuming they think for a moment about why it exists as its own thing in the first place?
- dodobirdlord 6y agoRust being Rust, the equivalent causes a safe teardown. https://doc.rust-lang.org/std/macro.unreachable.html https://doc.rust-lang.org/std/macro.unreachable.html The UB causing equivalent is of course unsafe. https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked.html https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked....
- jstimpfle 6y agoOk so what's the answer if you apply the question to __builtin_trap()?