Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

How to make Rust panic ?

/* 
In order to make a program written in Rust panic, you may compile and run it while it contains this instruction:
*/
([0])[([1])[0]];
/*
Running it with RUST_BACKTRACE=1 let you see how it panics. 
*/
 
PREVIOUS NEXT
Tagged: #How #Rust #panic
ADD COMMENT
Topic
Name
3+9 =