Skip to main content

nros_platform_export_panic

Macro nros_platform_export_panic 

Source
macro_rules! nros_platform_export_panic {
    ($ty:ty) => { ... };
}
Expand description

Emit nros_platform_panic delegating to <$ty as PlatformPanic> (phase-366 / RFC-0077).

NOT in nros_platform_export! deliberately. The fatal path is the IMAGE’s, and a Rust port that exports it unconditionally would be the same defect this API exists to remove: a library claiming the image’s ending. A port calls this only when it is the one supplying the behaviour.