10 ms·
The dropdown next to the "Run" button in the playground link shows you the ASM. But here's the relevant part: playground::main: push rax ca
by Arnavion 7y ago
The dropdown next to the "Run" button in the playground link shows you the ASM. But here's the relevant part:
playground::main:
push rax
call std::panicking::begin_panic
ud2
That is, it's an unconditional panic.