[][src]Module teensy::panic

Helper module to define easily panic function.


The macro in this file will generate a function with the #[panic_handler] needed to compile your code. You can choose a comportement in the following macros.

If you want to create your own panic function you should use this signature:

fn panic(pi: &core::panic::PanicInfo) -> !;

If you want to include one of the already defined panic in your code use: